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/IKVTable.java b/src/main/java/net/onrc/onos/core/datastore/IKVTable.java
index 87fee25..9d0c8ee 100644
--- a/src/main/java/net/onrc/onos/core/datastore/IKVTable.java
+++ b/src/main/java/net/onrc/onos/core/datastore/IKVTable.java
@@ -10,7 +10,7 @@
* Version number which represents that the object does not exist, or has
* never been read the DB before.
*/
- public long VERSION_NONEXISTENT();
+ public long getVersionNonexistant();
/**
* Interface for a class to represent an entry in Table.
@@ -98,7 +98,7 @@
* Remove a Key-Value entry in table.
*
* @param key
- * @return version of removed object or VERSION_NONEXISTENT, if it did not exist.
+ * @return version of removed object or non existant version if it did not exist.
*/
public long forceDelete(byte[] key);