We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa69e1 commit 2402806Copy full SHA for 2402806
src/com/jwetherell/algorithms/data_structures/DisjointSet.java
@@ -120,7 +120,7 @@ public boolean equals(Object o) {
120
final Item<T> i = (Item<T>) o;
121
if ((i.parent!=null && parent!=null) && !(i.parent.value.equals(parent.value)))
122
return false;
123
- if ((i.value!=null && value!=null) && !(value.equals(value)))
+ if ((i.value!=null && value!=null) && !(i.value.equals(value)))
124
125
return true;
126
}
0 commit comments