Skip to content

Commit

Permalink
Refactor StorageNodeName
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Sep 28, 2023
1 parent 380887e commit 35146f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class StorageNodeName {
public StorageNodeName(final String hostname, final int port, final String username) {
name = String.format("%s_%s_%s", hostname, port, username);
}

@Override
public boolean equals(final Object obj) {
return obj instanceof StorageNodeName && ((StorageNodeName) obj).name.equalsIgnoreCase(name);
Expand Down

0 comments on commit 35146f0

Please sign in to comment.