commit | 92c64ebea240019a01fd19e84aa6c5cd37c63d06 | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Thu Jul 23 15:37:07 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Jul 23 23:17:58 2015 +0000 |
tree | 94a43c15d5ddc1cec1faf791acf47e0799395a27 | |
parent | bd1eb3fba45b74b136e3c494de55147342896813 [diff] [blame] |
More Unit tests Change-Id: I32dd3851e490979621c4a5205c6e041dee900244
diff --git a/core/store/dist/src/main/java/org/onosproject/store/ecmap/MapValue.java b/core/store/dist/src/main/java/org/onosproject/store/ecmap/MapValue.java index 1a89c6b..bb69b47 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/ecmap/MapValue.java +++ b/core/store/dist/src/main/java/org/onosproject/store/ecmap/MapValue.java
@@ -83,10 +83,11 @@ return Objects.hashCode(timestamp, value); } + @SuppressWarnings("unchecked") @Override public boolean equals(Object other) { if (other instanceof MapValue) { - MapValue<V> that = (MapValue) other; + MapValue<V> that = (MapValue<V>) other; return Objects.equal(this.timestamp, that.timestamp) && Objects.equal(this.value, that.value); }