diff options
author | Dan Timoney <dtimoney@att.com> | 2017-09-21 14:50:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-21 14:50:05 +0000 |
commit | 5277a3842f2958e6d5fbc08397e93ea46e68d157 (patch) | |
tree | a9e305f2994cd70e8fd28849137cee1e32b43643 | |
parent | 89fa6ae72d5085295b917d48e6cbe0566ebe2fc7 (diff) | |
parent | 23fc985b7163470ed5f2a1d7cbf2e3f0431a8c8a (diff) |
Merge "Replace type specification with diamond operator"
-rw-r--r-- | fabric-discovery-plugin/provider/src/main/java/org/onap/ccsdk/sli/plugins/fabricdiscovery/FabricDiscoveryPlugin.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fabric-discovery-plugin/provider/src/main/java/org/onap/ccsdk/sli/plugins/fabricdiscovery/FabricDiscoveryPlugin.java b/fabric-discovery-plugin/provider/src/main/java/org/onap/ccsdk/sli/plugins/fabricdiscovery/FabricDiscoveryPlugin.java index 66452758d..99e171f6e 100644 --- a/fabric-discovery-plugin/provider/src/main/java/org/onap/ccsdk/sli/plugins/fabricdiscovery/FabricDiscoveryPlugin.java +++ b/fabric-discovery-plugin/provider/src/main/java/org/onap/ccsdk/sli/plugins/fabricdiscovery/FabricDiscoveryPlugin.java @@ -44,7 +44,7 @@ public class FabricDiscoveryPlugin implements SvcLogicJavaPlugin, IFabricDiscove public FabricDiscoveryPlugin() { service = Executors.newFixedThreadPool(10); - streamMap = new ConcurrentHashMap<String, WebSocketClient> (); + streamMap = new ConcurrentHashMap<>(); } @Override @@ -70,7 +70,7 @@ public class FabricDiscoveryPlugin implements SvcLogicJavaPlugin, IFabricDiscove } ctx.setAttribute(pfx + FB_DISCOVERY_STATUS, "Success"); - LOG.info("{} monitoring notification stream: {}", (enable) ? "START" : "STOP", stream); + LOG.info("{} monitoring notification stream: {}", enable ? "START" : "STOP", stream); try { service.execute(new Runnable () { |