mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
java.util code cleanup
This commit is contained in:
@ -15,7 +15,7 @@ public class HashSet<T> implements Set<T> {
|
||||
|
||||
private final HashMap<T, Object> map;
|
||||
|
||||
public HashSet(Collection<T> c) {
|
||||
public HashSet(Collection<? extends T> c) {
|
||||
map = new HashMap(c.size());
|
||||
addAll(c);
|
||||
}
|
||||
|
Reference in New Issue
Block a user