aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Varma <vv8305@att.com>2019-11-12 03:00:44 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-12 03:00:44 +0000
commit95770308ba362273103a994d30ab8f87f8543875 (patch)
tree6bc4446a980c50def0ff001b1da5e53bfb0b9491
parent49386f37d1e9ffd29233c97f518002edda9930b0 (diff)
parent4b9d9fe184dc3e1c9e9a79014f712aee10cadae0 (diff)
Merge "MessageHeaders.java-Replace the type specification in this constructor call with the diamond operator"
-rw-r--r--cmso-topology/src/main/java/org/onap/observations/MessageHeaders.java4
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");