From ff07a3e7ead54e90e4c7f314dc39fd42402d49a5 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Sun, 14 Apr 2019 09:18:42 -0400 Subject: 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) --- .../src/main/java/org/onap/so/adapters/audit/AuditVServer.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'adapters') 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()); -- cgit 1.2.3-korg