summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib
diff options
context:
space:
mode:
authorAbhai Singh <Abhai.Singh@amdocs.com>2018-01-04 13:51:14 +0530
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-01-04 10:49:50 +0000
commitb5fd5a434bc0b44be2e256af8bc456c45922cf48 (patch)
treee3c8ea2131b2b70420f75a46b8ec5466d0040a23 /openecomp-be/lib/openecomp-sdc-vendor-software-product-lib
parent013b19d0a61a1f000f3bb5e4433b7f3cb8525430 (diff)
Fix Sonar NicDaoZusammenImpl
Fixed reported sonar issues Change-Id: Id0b925a8e01ac6aa40f48f4e9c1efa018b4155b1 Issue-ID: SDC-343 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib')
-rw-r--r--openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/NicDaoZusammenImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/NicDaoZusammenImpl.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/NicDaoZusammenImpl.java
index 268e2546ed..b3f9a52a8d 100644
--- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/NicDaoZusammenImpl.java
+++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/NicDaoZusammenImpl.java
@@ -37,7 +37,7 @@ public class NicDaoZusammenImpl implements NicDao {
@Override
public void registerVersioning(String versionableEntityType) {
-
+ // registerVersioning is not implemented for NicDaoZusammenImpl
}
@Override
@@ -48,10 +48,10 @@ public class NicDaoZusammenImpl implements NicDao {
private Collection<NicEntity> listNics(SessionContext context, ElementContext elementContext,
NicEntity nic) {
- ElementToNicConvertor convertor = new ElementToNicConvertor();
return zusammenAdaptor.listElementsByName(context, elementContext, new Id(nic.getComponentId()),
ElementType.Nics.name())
- .stream().map(convertor::convert)
+ .stream()
+ .map(new ElementToNicConvertor()::convert)
.map(nicEntity -> {
nicEntity.setComponentId(nicEntity.getComponentId());
nicEntity.setVspId(nic.getVspId());
@@ -199,7 +199,7 @@ public class NicDaoZusammenImpl implements NicDao {
@Override
public void deleteByVspId(String vspId, Version version) {
-
+ // deleteByVspId not implemented for NicDaoZusammenImpl
}
private ZusammenElement nicToZusammen(NicEntity nic, Action action) {