Enable checkstyle member and local variable checks
Enable checkstyle member and local variable name checks, and fix any violations that are detected.
Change-Id: I7524635cd39a9627b041e2ff6be169810f63913e
diff --git a/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java b/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java
index 1897631..884df0e 100755
--- a/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java
+++ b/src/main/java/net/onrc/onos/core/registry/ZookeeperRegistry.java
@@ -66,10 +66,10 @@
private final String namespace = "onos";
private final String switchLatchesPath = "/switches";
- private final String CLUSTER_LEADER_PATH = "/cluster/leader";
+ private static final String CLUSTER_LEADER_PATH = "/cluster/leader";
- private final String SERVICES_PATH = "/"; //i.e. the root of our namespace
- private final String CONTROLLER_SERVICE_NAME = "controllers";
+ private static final String SERVICES_PATH = "/"; //i.e. the root of our namespace
+ private static final String CONTROLLER_SERVICE_NAME = "controllers";
protected CuratorFramework client;
@@ -82,8 +82,8 @@
protected ClusterLeaderListener clusterLeaderListener;
private static final long CLUSTER_LEADER_ELECTION_RETRY_MS = 100;
- private final String ID_COUNTER_PATH = "/flowidcounter";
- private final Long ID_BLOCK_SIZE = 0x100000000L;
+ private static final String ID_COUNTER_PATH = "/flowidcounter";
+ private static final Long ID_BLOCK_SIZE = 0x100000000L;
protected DistributedAtomicLong distributedIdCounter;
//Zookeeper performance-related configuration