mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Like a noob, I missed some things... broke the compilation.
This commit is contained in:
@ -36,7 +36,7 @@ public class HashSet<T> implements Set<T> {
|
||||
return map.isEmpty();
|
||||
}
|
||||
|
||||
public boolean contains(T element) {
|
||||
public boolean contains(Object element) {
|
||||
return map.containsKey(element);
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ public class HashSet<T> implements Set<T> {
|
||||
return change;
|
||||
}
|
||||
|
||||
public boolean remove(T element) {
|
||||
public boolean remove(Object element) {
|
||||
return map.remove(element) != Value;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user