commit | 7531a34ddcd952d678c011f1dd18207ed4e7a048 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Fri Apr 11 15:08:12 2014 -0700 |
committer | Ray Milkey <ray@onlab.us> | Fri Apr 11 15:13:27 2014 -0700 |
tree | ff97ce9acec6a47961f9991982a984eee3b39c50 | |
parent | 816512cdba673a2c583854b9edf14018b04ce4da [diff] |
Enable checkstyle rule to verify method names Enabled checkstyle rule "MethodName" which checks if method names adhere to a naming convention and fixed the violations it found. Change-Id: I87448a1fa857e78f33c42090d485bf21a8986ba7
diff --git a/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZClient.java b/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZClient.java index 32ff15b..3bfe157 100644 --- a/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZClient.java +++ b/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZClient.java
@@ -335,7 +335,7 @@ } @Override - public long VERSION_NONEXISTENT() { + public long getVersionNonexistant() { return VERSION_NONEXISTENT; }
diff --git a/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZTable.java b/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZTable.java index 7b97ec0..20501bb 100644 --- a/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZTable.java +++ b/src/main/java/net/onrc/onos/core/datastore/hazelcast/HZTable.java
@@ -43,7 +43,7 @@ } /** - * increment version, avoiding VERSION_NONEXISTENT. + * increment version, avoiding versionNonexistant. * * @param version * @return @@ -320,7 +320,7 @@ } @Override - public long VERSION_NONEXISTENT() { + public long getVersionNonexistant() { return HZClient.VERSION_NONEXISTENT; } }