mbien commented on a change in pull request #3764:
URL: https://github.com/apache/netbeans/pull/3764#discussion_r824860142



##########
File path: 
ide/schema2beans/src/org/netbeans/modules/schema2beansdev/gen/JavaUtil.java
##########
@@ -852,7 +852,7 @@ public static int getOptimialHashMapSize(Object[] keys, int 
maxSize) {
         int defaultAnswer = keyLength + 1;
         try {
             java.lang.reflect.Field tableField = 
HashMap.class.getDeclaredField("table");

Review comment:
       deprecated it + added `keylength * 3 / 2` as default return value. Its 
what the JDK uses anyway if i remember correctly.




-- 
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]



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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to