Skip to content

Commit

Permalink
Instance equals fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
codependent committed Jan 20, 2016
1 parent ba0b4c0 commit 13f3153
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public boolean equals(Object obj) {
if(attributes != null && attributes.get("port") != null){
String port = attributes.get("port");
if(other.getAttributes() != null && other.getAttributes().get("port") != null){
equals &= (port == other.getAttributes().get("port"));
equals &= (port.equals(other.getAttributes().get("port")));
}
}

Expand Down

0 comments on commit 13f3153

Please sign in to comment.