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:
@ -21,11 +21,8 @@ public class Vector<T> implements List<T> {
|
||||
this(0);
|
||||
}
|
||||
|
||||
public Vector(List<T> list) {
|
||||
this(list.size());
|
||||
for (T o : list) {
|
||||
add(o);
|
||||
}
|
||||
public Vector(Collection<? extends T> source) {
|
||||
list = new ArrayList(source);
|
||||
}
|
||||
|
||||
public synchronized int size() {
|
||||
|
Reference in New Issue
Block a user