keith-turner commented on code in PR #6082:
URL: https://github.com/apache/accumulo/pull/6082#discussion_r2738496324
##########
core/src/main/java/org/apache/accumulo/core/util/PreAllocatedArray.java:
##########
@@ -60,6 +57,6 @@ public T get(final int index) {
@Override
public Iterator<T> iterator() {
- return Iterators.unmodifiableIterator(internal.iterator());
+ return internal.iterator();
Review Comment:
The list created from an array does not support removal. I added a test to
verify this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]