keith-turner opened a new issue, #6083:
URL: https://github.com/apache/accumulo/issues/6083
PreAllocatedArray could be replaced w/ a single static method like the
following. Not sure where this static method should go.
```java
@SuppressWarnings("unchecked")
public static <T> List<T> newPreallocatedList(int size){
return Arrays.asList((T[]) new Object[size]);
}
```
_Originally posted by @keith-turner in
https://github.com/apache/accumulo/issues/6082#issuecomment-3813811602_
--
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]