subhash-arabhi commented on code in PR #8690:
URL: https://github.com/apache/netbeans/pull/8690#discussion_r2251312021


##########
java/java.file.launcher/src/org/netbeans/modules/java/file/launcher/actions/SingleJavaSourceRunActionProvider.java:
##########
@@ -55,6 +55,19 @@ public String[] getSupportedActions() {
         };
     }
 
+    private String getTaskName(String command, String fileName){
+        if(command == null || command.isEmpty()) return fileName;
+        String action = command.contains(".")
+                ? command.substring(0, command.indexOf('.'))
+                : command;
+        String capitalized = action.substring(0, 1).toUpperCase()
+                + action.substring(1).toLowerCase();

Review Comment:
   Thanks for pointing it out. I have made the changes. Please approve the PR



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