Improve hashCode() for Address
Change-Id: Ifa15e57d8b7ff83511aab853dc0a5da1eb14892d
This commit is contained in:
parent
0ba6b91842
commit
54c26f9d32
|
@ -193,7 +193,7 @@ public class Address {
|
|||
}
|
||||
|
||||
public int hashCode() {
|
||||
return toString().hashCode();
|
||||
return getAddress().hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue