lkishalmi commented on a change in pull request #2401:
URL: https://github.com/apache/netbeans/pull/2401#discussion_r494991862



##########
File path: 
java/gradle.java/src/org/netbeans/modules/gradle/java/api/output/LocationOpener.java
##########
@@ -80,7 +80,17 @@ public final void open() {
         }
     }
 
-    private int getMethodLine(final FileObject fo, final String methodName) {
+   private static String stripMethodParams(String methodNameWithParams) {
+        final int paramsIndex = methodNameWithParams.indexOf("(");

Review comment:
       Use indexOf('(') or add a //NOI18N at the end of line if you wish to 
keep it as a String.




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