neilcsmith-net commented on code in PR #6593:
URL: https://github.com/apache/netbeans/pull/6593#discussion_r1368625466


##########
java/java.source.base/src/org/netbeans/api/java/source/SourceUtils.java:
##########
@@ -1085,22 +1090,15 @@ private static boolean mainCandidate(ExecutableElement 
method) {
         return true;
     }
 
+    // 0 is highest

Review Comment:
   Thanks for adding this comment!  I just spent a couple of minutes looking at 
your loop wondering why the check was that way around. :laughing: 



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