mirror of
https://github.com/corda/corda.git
synced 2025-02-01 16:58:27 +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() {
|
public boolean isEmpty() {
|
||||||
return set.size() != 0;
|
return set.size() == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean contains(Object value) {
|
public boolean contains(Object value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user