leventov commented on a change in pull request #9165: Forbid easily misused 
HashSet and HashMap constructors
URL: https://github.com/apache/druid/pull/9165#discussion_r368213591
 
 

 ##########
 File path: core/src/main/java/org/apache/druid/utils/CollectionUtils.java
 ##########
 @@ -39,6 +41,8 @@
 
 public final class CollectionUtils
 {
+  public static final int MAX_EXPECTED_SIZE = (1 << 30);
 
 Review comment:
   Nit: should better be private.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to