mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
Fixed isEmpty() on TreeSet, which actually returned !isEmpty().
This commit is contained in:
parent
8f0f3182de
commit
59280c5780
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user