aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-service
diff options
context:
space:
mode:
authormanisha07 <cmanis10@in.ibm.com>2019-11-06 14:41:45 +0530
committermanisha07 <cmanis10@in.ibm.com>2019-11-06 14:41:54 +0530
commit42192c10a6b239ba4f259ef231b8789fe8ae6e86 (patch)
treea18aac5b46eee3aaca280bff186a35c28fe71537 /cmso-service
parentb0ea96ed0edd3436e2a9de33ce8340279982d445 (diff)
Replace the type specification in this constructor call with the diamond operator
Issue-ID: OPTFRA-631 Change-Id: I135841b55506f56d31ca7a77caae22bfcc0ad2f0 Signed-off-by: manisha07 <cmanis10@in.ibm.com>
Diffstat (limited to 'cmso-service')
-rw-r--r--cmso-service/src/main/java/org/onap/optf/cmso/filters/MessageHeaders.java4
1 files changed, 2 insertions, 2 deletions
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<String, String> supportedMajorVersions = new HashMap<String, String>();
+ private static final Map<String, String> supportedMajorVersions = new HashMap<>();
static {
supportedMajorVersions.put("v1", "0");
@@ -77,7 +77,7 @@ public class MessageHeaders {
}
/** The Constant supportedMajorMinorVersions. */
- private static final Set<String> supportedMajorMinorVersions = new HashSet<String>();
+ private static final Set<String> supportedMajorMinorVersions = new HashSet<>();
static {
supportedMajorMinorVersions.add("v1.0");