Skip to content

Commit

Permalink
OAK-11073 : added javadocs as per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Kumar committed Sep 17, 2024
1 parent d6abac6 commit f31a7c9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
*/
public class CollectionUtils {

// Maximum capacity for a hash based collection. (used internally by JDK).
// Also, it helps to avoid overflow errors when calculating the capacity
private static final int MAX_CAPACITY = 1 << 30;

private CollectionUtils() {
Expand Down

0 comments on commit f31a7c9

Please sign in to comment.