ArbaazKhan1 commented on code in PR #6120:
URL: https://github.com/apache/accumulo/pull/6120#discussion_r2817743652
##########
core/src/main/java/org/apache/accumulo/core/util/LocalityGroupUtil.java:
##########
@@ -412,4 +412,9 @@ public static void
ensureNonOverlappingGroups(Map<String,Set<Text>> groups) {
all.addAll(entry.getValue());
}
}
+
+ @SuppressWarnings("unchecked")
+ public static <T> List<T> newPreallocatedList(int size) {
Review Comment:
I do agree that it shouldn't be in LocalityGroup but I wasn't too sure where
else to put it
--
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]