8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
Reviewed-by: martin
This commit is contained in:
parent
ae0b26613c
commit
05cd3a7bce
@ -1696,6 +1696,7 @@ public class ArrayList<E> extends AbstractList<E>
|
|||||||
@Override
|
@Override
|
||||||
public void replaceAll(UnaryOperator<E> operator) {
|
public void replaceAll(UnaryOperator<E> operator) {
|
||||||
replaceAllRange(operator, 0, size);
|
replaceAllRange(operator, 0, size);
|
||||||
|
// TODO(8203662): remove increment of modCount from ...
|
||||||
modCount++;
|
modCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1369,6 +1369,7 @@ public class Vector<E>
|
|||||||
es[i] = operator.apply(elementAt(es, i));
|
es[i] = operator.apply(elementAt(es, i));
|
||||||
if (modCount != expectedModCount)
|
if (modCount != expectedModCount)
|
||||||
throw new ConcurrentModificationException();
|
throw new ConcurrentModificationException();
|
||||||
|
// TODO(8203662): remove increment of modCount from ...
|
||||||
modCount++;
|
modCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user