jtulach commented on a change in pull request #2194:
URL: https://github.com/apache/netbeans/pull/2194#discussion_r540766847



##########
File path: 
enterprise/web.jsf/src/org/netbeans/modules/web/jsf/wizards/TemplateClientPanelVisual.java
##########
@@ -75,7 +75,7 @@
 
     private WizardDescriptor wizardDescriptor;
 
-    private final Set/*<ChangeListener>*/ listeners = new HashSet(1);

Review comment:
       `HashSet` of size 1 is probably a non-sense. By default it has `75%` 
fill ratio and then it is rehashed.E.g. as soon as first item is added, the set 
is probably rehashed.




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



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