commit | c9d8d0a0ba8118491498f9e4feb34206e4c0a2f9 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Wed Sep 09 14:09:26 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Sep 09 21:31:10 2015 +0000 |
tree | b0ef02fbce1cb5d8cc040c798374c31e882d6120 | |
parent | 0044f572aa92ecc47e3894d07c789ae5d7db7d1e [diff] |
Avoid unnecessary instantiation Change-Id: I1ce616feaaca773cd693d07569f7fa1fb9062d14
diff --git a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java index 4c8d22c..8d36be4 100644 --- a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java +++ b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java
@@ -3,7 +3,6 @@ import static com.google.common.base.MoreObjects.toStringHelper; import java.util.Arrays; -import java.util.Objects; /** * Represents for 3rd-party private original flow. @@ -41,11 +40,11 @@ @Override public int hashCode() { - return Objects.hash(payLoad); + return Arrays.hashCode(payLoad); } public int hash() { - return Objects.hash(payLoad); + return Arrays.hashCode(payLoad); } @Override