aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2019-04-14 09:18:42 -0400
committerBenjamin, Max (mb388a) <mb388a@us.att.com>2019-04-14 09:19:02 -0400
commitff07a3e7ead54e90e4c7f314dc39fd42402d49a5 (patch)
tree48ccd9bcf0c1e684cfb6f1c6c096d85b49c153ce
parent48478b9531fb2901c392ce1142f9443b5d805148 (diff)
Changed to use shallow copy of linterface in aduit
Removed unused shallow instance from linterface method. Changed to use shallow copy of linterface in aduit. Change-Id: I3cb92b991eaea5634d009967dadf70e6a146f07f Issue-ID: SO-1789 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditVServer.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditVServer.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditVServer.java
index 8559fe5c36..5ca045d988 100644
--- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditVServer.java
+++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditVServer.java
@@ -91,8 +91,6 @@ public class AuditVServer extends AbstractAudit {
lInterfaceAudit.setDoesObjectExist(true);
lInterface.setInterfaceName(lInterface.getInterfaceName());
}
- LInterface lInterfaceShallow = new LInterface();
- BeanUtils.copyProperties(lInterface, lInterfaceShallow, "LInterfaces");
lInterfaceAudit.setAaiObject(lInterface);
lInterfaceAudit.setResourceURI(linterfaceURI.build());
lInterfaceAudit.setAaiObjectType(AAIObjectType.L_INTERFACE.typeName());