summaryrefslogtreecommitdiffstats
path: root/common-be
diff options
context:
space:
mode:
Diffstat (limited to 'common-be')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java9
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java9
2 files changed, 0 insertions, 18 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java
index 84cf853d7a..b9a0dc73a8 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinition.java
@@ -44,15 +44,6 @@ public class ServiceMetadataDataDefinition extends ComponentMetadataDataDefiniti
private String vendorName;
private String vendorRelease;
- public ServiceMetadataDataDefinition(ServiceMetadataDataDefinition other) {
- super(other);
- serviceType = other.getServiceType();
- serviceRole = other.getServiceRole();
- this.importServiceType = other.getImportServiceType();
- this.toscaServiceName = other.getToscaServiceName();
- serviceFunction = other.getServiceFunction();
- }
-
public ServiceMetadataDataDefinition(JsonPresentationFieldsExtractor extractor) {
super(extractor);
serviceType = extractor.getServiceType();
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java
index 77b6871c92..d5dae2b998 100644
--- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java
@@ -54,15 +54,6 @@ public class ServiceMetadataDataDefinitionTest {
}
@Test
- public void testCopyConstructor() throws Exception {
- ServiceMetadataDataDefinition testSubject;
-
- // default test
- testSubject = createTestSubject();
- ServiceMetadataDataDefinition serviceMetadataDataDefinition = new ServiceMetadataDataDefinition(testSubject);
- }
-
- @Test
public void testGetDistributionStatus() throws Exception {
ServiceMetadataDataDefinition testSubject;
String result;