Skip to content

Commit e0b43ef

Browse files
fix equals bug
1 parent 3d88433 commit e0b43ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luceedebug/src/main/java/luceedebug/StrongString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public int hashCode() {
1313

1414
@Override
1515
public boolean equals(Object other) {
16-
return v.equals(other);
16+
return (other instanceof StrongString) && v.equals(((StrongString)other).v);
1717
}
1818

1919
public static class RawIdePath extends StrongString {

0 commit comments

Comments
 (0)