vieiro commented on a change in pull request #364: [NETBEANS-252] Fix CG adding 
methods to enum constant bodies
URL: https://github.com/apache/incubator-netbeans/pull/364#discussion_r161389127
 
 

 ##########
 File path: 
java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java
 ##########
 @@ -347,7 +353,7 @@ protected CasualDiff(Context context, DiffContext 
diffContext, TreeUtilities tre
         String resultSrc = td.printer.toString().substring(start - lineStart);
         if (!td.printer.reindentRegions.isEmpty()) {
             // must add region boundaries to tag2span, since the text may be 
reformatted.
-            List<SectKey> keys = new 
ArrayList<SectKey>(td.blockSequenceMap.size());
+            List<SectKey> keys = new ArrayList<>(td.blockSequenceMap.size());
 
 Review comment:
   Ok to remove types in this constructor.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]

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

Reply via email to