mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
Like a noob, I missed some things... broke the compilation.
This commit is contained in:
@ -60,7 +60,7 @@ public class TreeSet<T> extends AbstractSet<T> implements Collection<T> {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean remove(T value) {
|
||||
public boolean remove(Object value) {
|
||||
PersistentSet.Path<Cell<T>> p = set.find(new Cell(value, null));
|
||||
if (p.fresh()) {
|
||||
return false;
|
||||
@ -85,7 +85,7 @@ public class TreeSet<T> extends AbstractSet<T> implements Collection<T> {
|
||||
return size == 0;
|
||||
}
|
||||
|
||||
public boolean contains(T value) {
|
||||
public boolean contains(Object value) {
|
||||
return !set.find(new Cell(value, null)).fresh();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user