Skip to content

Commit

Permalink
Fixed hash code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpullano committed Apr 8, 2012
1 parent 16a2009 commit 1091152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion identifiers/IPP.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public boolean equals(Object other) {

@Override
public int hashCode() {
return getIp().toString().hashCode() + getPort();
return getIp().hashCode() + getPort();
}

public static IPP getIPP(String ippString) {
Expand Down

0 comments on commit 1091152

Please sign in to comment.