BradWalker commented on code in PR #4860:
URL: https://github.com/apache/netbeans/pull/4860#discussion_r1032876028


##########
enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ConfigSupportImpl.java:
##########
@@ -151,8 +152,8 @@ public static File[] getDeploymentConfigurationFiles 
(J2eeModuleProvider provide
     
     public static FileObject[] getConfigurationFiles(J2eeModuleProvider jmp) {
         Collection servers = ServerRegistry.getInstance().getServers();
-        ArrayList files = new ArrayList();
-        for (Iterator i=servers.iterator(); i.hasNext();) {
+        List files = new ArrayList<>();

Review Comment:
   Hey @mbien , it's fixed..
   
   Can I get an approval from ya' ?   8-)



-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to