mbien commented on code in PR #3884:
URL: https://github.com/apache/netbeans/pull/3884#discussion_r868564327


##########
java/java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java:
##########
@@ -5004,7 +5009,31 @@ private int diffSince(DCDocComment doc, DCSince oldT, 
DCSince newT, int[] elemen
         }
         return elementBounds[1];
     }
-    
+//    

Review Comment:
   since its a private method, I think it should be either removed or simply 
left there (if there are plans to use it later). 
   
   Commenting big code blocks out with `//` is not optimal for version control, 
`/**/` would be better since it produces less merge conflicts due to easier 
automated diff.



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