diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java')
1 files changed, 2 insertions, 3 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/NetworkDaoZusammenImpl.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/NetworkDaoZusammenImpl.java index bccea3a85c..ba79fc4376 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/NetworkDaoZusammenImpl.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/NetworkDaoZusammenImpl.java @@ -37,7 +37,7 @@ public class NetworkDaoZusammenImpl implements NetworkDao { @Override public void registerVersioning(String versionableEntityType) { - + // registerVersioning not implemented for NetworkDaoZusammenImpl } @Override @@ -52,10 +52,9 @@ public class NetworkDaoZusammenImpl implements NetworkDao { return new ArrayList<>(); } - ElementToNetworkConvertor convertor = new ElementToNetworkConvertor(); return zusammenAdaptor.listElementsByName(context, elementContext, vspModel.get().getId(), ElementType.Networks.name()).stream() - .map(convertor::convert) + .map(new ElementToNetworkConvertor()::convert) .map(entity -> { entity.setVspId(network.getVspId()); entity.setVersion(network.getVersion()); |