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


##########
java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java:
##########
@@ -149,6 +153,9 @@ public class MavenCommandLineExecutor extends 
AbstractMavenExecutor {
     private static final RequestProcessor UPDATE_INDEX_RP = new 
RequestProcessor(RunUtils.class.getName(), 5);
 
     private static final String ICON_MAVEN_PROJECT = 
"org/netbeans/modules/maven/resources/Maven2Icon.gif"; // NOI18N
+
+    private final Function<String, Boolean> mavenCommandMultiThreadAnalyzer = 
isMavenDaemon() ? MavenCommandParametersAnalyzer::isMultiThreaded : 
MavenDaemonCommandParametersAnalyzer::isMultiThreaded ;
+

Review Comment:
   could you inline this?
   
   please note: I just tried it and NB seems to have difficulties to inline 
functions, might need manual adjustments to make it compile.



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