From 42192c10a6b239ba4f259ef231b8789fe8ae6e86 Mon Sep 17 00:00:00 2001 From: manisha07 Date: Wed, 6 Nov 2019 14:41:45 +0530 Subject: Replace the type specification in this constructor call with the diamond operator Issue-ID: OPTFRA-631 Change-Id: I135841b55506f56d31ca7a77caae22bfcc0ad2f0 Signed-off-by: manisha07 --- cmso-robot/.gitignore | 3 ++- .../src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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"); -- cgit 1.2.3-korg