mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
Fixed isEmpty() on TreeSet, which actually returned !isEmpty().
This commit is contained in:
@ -117,7 +117,7 @@ public class TreeSet<T> extends AbstractSet<T> implements Collection<T> {
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return set.size() != 0;
|
||||
return set.size() == 0;
|
||||
}
|
||||
|
||||
public boolean contains(Object value) {
|
||||
|
Reference in New Issue
Block a user