Fix Java lint reported errors
Replaced some API deprecations with TODO comments
Added suppressions for rawtypes fromes in OF code
Removed superfluous casts in OF code
Turned on -Werror to make future warnings break the build
Change-Id: I63a1770e1e2d0d97089d49261ac17c83fdd9b5e8
diff --git a/src/main/java/net/onrc/onos/core/datagrid/IEventChannel.java b/src/main/java/net/onrc/onos/core/datagrid/IEventChannel.java
index 0c1663a..23b7be9 100644
--- a/src/main/java/net/onrc/onos/core/datagrid/IEventChannel.java
+++ b/src/main/java/net/onrc/onos/core/datagrid/IEventChannel.java
@@ -79,7 +79,7 @@
* @param key the key of the entry to get.
* @return the entry if found, otherwise null.
*/
- @Deprecated
+ // TODO - this is intended to be refactored and removed
V getEntry(K key);
/**
@@ -87,12 +87,12 @@
*
* @return all entries that are currently in the channel.
*/
- @Deprecated
+ // TODO - this is intended to be refactored and removed
Collection<V> getAllEntries();
/**
* Remove all entries in the channel.
*/
- @Deprecated
+ // TODO - this is intended to be refactored and removed
void removeAllEntries();
}