commit | c7609ee069ca32701d1c79ee04440c760c65b654 | [log] [tgz] |
---|---|---|
author | Daniel Park <dan.park@sk.com> | Wed Jan 20 10:09:44 2016 +0900 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Jan 22 01:35:01 2016 +0000 |
tree | ecff998c48a0683a3f451587d9ec26fc2ce5502c | |
parent | bd572c1231b3ff37b9dde9f2dcc170348ad56bbe [diff] |
Fixed hash method in CordVtnNode - Hash method only uses hostname Change-Id: Ibc8309374c8d22138349b651fcac4b6e2bf8b0e0
diff --git a/src/main/java/org/onosproject/cordvtn/CordVtnNode.java b/src/main/java/org/onosproject/cordvtn/CordVtnNode.java index c11ba42..87caf6b 100644 --- a/src/main/java/org/onosproject/cordvtn/CordVtnNode.java +++ b/src/main/java/org/onosproject/cordvtn/CordVtnNode.java
@@ -140,7 +140,7 @@ @Override public int hashCode() { - return Objects.hash(hostname, ovsdbIp, ovsdbPort); + return Objects.hash(hostname); } @Override