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 --- .../src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmso-service') 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