diff options
author | 2019-11-06 13:16:59 +0530 | |
---|---|---|
committer | 2019-11-06 13:17:17 +0530 | |
commit | 4b9d9fe184dc3e1c9e9a79014f712aee10cadae0 (patch) | |
tree | abb3585bb39c384bfddabc5657f1db1a2bbd8ed4 | |
parent | b0ea96ed0edd3436e2a9de33ce8340279982d445 (diff) |
MessageHeaders.java-Replace the type specification in this constructor call with the diamond operator
Issue-ID: OPTFRA-578
Change-Id: I53b1b7eddd2c82034e2e6363e5ba3bdaac780b69
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
-rw-r--r-- | cmso-topology/src/main/java/org/onap/observations/MessageHeaders.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmso-topology/src/main/java/org/onap/observations/MessageHeaders.java b/cmso-topology/src/main/java/org/onap/observations/MessageHeaders.java index ccb7e56..6fc579e 100644 --- a/cmso-topology/src/main/java/org/onap/observations/MessageHeaders.java +++ b/cmso-topology/src/main/java/org/onap/observations/MessageHeaders.java @@ -65,7 +65,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"); @@ -73,7 +73,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"); |