From: manisha07 Date: Wed, 6 Nov 2019 09:11:45 +0000 (+0530) Subject: Replace the type specification in this constructor call with the diamond operator X-Git-Tag: 2.2.0~17^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F98021%2F1;p=optf%2Fcmso.git Replace the type specification in this constructor call with the diamond operator Issue-ID: OPTFRA-631 Change-Id: I135841b55506f56d31ca7a77caae22bfcc0ad2f0 Signed-off-by: manisha07 --- diff --git a/cmso-robot/.gitignore b/cmso-robot/.gitignore index 44bdbba..cd46865 100644 --- a/cmso-robot/.gitignore +++ b/cmso-robot/.gitignore @@ -5,4 +5,5 @@ *.pyc /libspecs/ /geckodriver.log -/robot/library/ \ No newline at end of file +/robot/library/ +/bin/ diff --git a/cmso-service/src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java b/cmso-service/src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java index d671768..7aba1a2 100644 --- a/cmso-service/src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java +++ b/cmso-service/src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java @@ -69,7 +69,7 @@ public class MessageHeaders { } /** The Constant supportedMajorVersions. */ - private static final Map supportedMajorVersions = new HashMap(); + private static final Map supportedMajorVersions = new HashMap<>(); static { supportedMajorVersions.put("v1", "0"); @@ -77,7 +77,7 @@ public class MessageHeaders { } /** The Constant supportedMajorMinorVersions. */ - private static final Set supportedMajorMinorVersions = new HashSet(); + private static final Set supportedMajorMinorVersions = new HashSet<>(); static { supportedMajorMinorVersions.add("v1.0");