From: Munir Ahmad Date: Thu, 8 Mar 2018 00:06:52 +0000 (-0500) Subject: Replace explicit type with diamond notation X-Git-Tag: v1.2.1~479^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2b2c6deab49c68f69b20c4be17682a26e1c7c036;p=so.git Replace explicit type with diamond notation Change-Id: Ibcd42f05c7850e536759207a4d316396956da05b Issue-ID: SO-437 Signed-off-by: Munir Ahmad --- diff --git a/adapters/mso-vnf-adapter/src/test/java/org/openecomp/mso/vdu/utils/VduInfoTest.java b/adapters/mso-vnf-adapter/src/test/java/org/openecomp/mso/vdu/utils/VduInfoTest.java index 4a29c32e28..98a00033f7 100644 --- a/adapters/mso-vnf-adapter/src/test/java/org/openecomp/mso/vdu/utils/VduInfoTest.java +++ b/adapters/mso-vnf-adapter/src/test/java/org/openecomp/mso/vdu/utils/VduInfoTest.java @@ -66,7 +66,7 @@ public class VduInfoTest { public void testGetOutputs() { Object obj = new Object(); String str = "some text"; - outputs = new HashMap(); + outputs = new HashMap<>(); outputs.put(str, obj); vduInfo.setOutputs(outputs); Assert.assertNotNull(vduInfo.getOutputs()); @@ -78,7 +78,7 @@ public class VduInfoTest { public void testGetInputs() { Object obj = new Object(); String str = "some text"; - inputs = new HashMap(); + inputs = new HashMap<>(); inputs.put(str, obj); vduInfo.setInputs(inputs); Assert.assertNotNull(vduInfo.getInputs());