commit | 5963bd46a1cadc7dd1c2a2328edc9252dcd7b2c1 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Tue Aug 01 15:37:59 2017 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Tue Aug 01 22:52:14 2017 +0000 |
tree | 0009a0feb25ae4fb9019da7c4838d4fe42f798b7 | |
parent | 99012711a1a117b17cfb015907de2d9e0e3058a9 [diff] |
hash array data - bug found by google error-prone Change-Id: I0801f65264dc2be24f167b61c3b57772aa70a20b
diff --git a/utils/misc/src/main/java/org/onlab/packet/dhcp/DhcpOption.java b/utils/misc/src/main/java/org/onlab/packet/dhcp/DhcpOption.java index a1b5923..8c637d0 100644 --- a/utils/misc/src/main/java/org/onlab/packet/dhcp/DhcpOption.java +++ b/utils/misc/src/main/java/org/onlab/packet/dhcp/DhcpOption.java
@@ -141,7 +141,7 @@ */ @Override public int hashCode() { - return Objects.hash(code, length, data); + return Objects.hash(code, length, Arrays.hashCode(data)); } /*