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/consistent/impl/Match.java b/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/Match.java index 804514c..5f707d6 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/Match.java +++ b/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/Match.java
@@ -108,12 +108,13 @@ return Objects.hash(matchAny, value); } + @SuppressWarnings("unchecked") @Override public boolean equals(Object other) { if (!(other instanceof Match)) { return false; } - Match<T> that = (Match) other; + Match<T> that = (Match<T>) other; return Objects.equals(this.matchAny, that.matchAny) && Objects.equals(this.value, that.value); }