Fix findbugs violations in netconf
[netconf.git] / netconf / netconf-api / src / main / java / org / opendaylight / netconf / api / util / NetconfConstants.java
index e3ffdd0ae5e213ad7919489d44b50896c261fc99..0c7856f84c8a8c3e6e8fc03568876335e80b187b 100644 (file)
@@ -8,7 +8,7 @@
 
 package org.opendaylight.netconf.api.util;
 
-import com.google.common.collect.Sets;
+import com.google.common.collect.ImmutableSet;
 import java.util.Set;
 
 /**
@@ -25,6 +25,10 @@ public final class NetconfConstants {
     public static final String NETCONF_MONITORING = "ietf-netconf-monitoring";
     public static final String NETCONF_NOTIFICATION = "ietf-netconf-notifications";
 
-    public static final Set<String> CONFIG_SERVICE_MARKERS = Sets.newHashSet(SERVICE_NAME, CONFIG_NETCONF_CONNECTOR,
+    public static final Set<String> CONFIG_SERVICE_MARKERS = ImmutableSet.of(SERVICE_NAME, CONFIG_NETCONF_CONNECTOR,
             NETCONF_MONITORING, NETCONF_NOTIFICATION);
+
+    private NetconfConstants() {
+
+    }
 }