desruisseaux commented on code in PR #1027:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/1027#discussion_r2753796792


##########
src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java:
##########
@@ -1370,7 +1392,7 @@ public Options parseParameters(final OptionChecker 
compiler) {
      */
     @SuppressWarnings("UseSpecificCatch")
     private void compile(final JavaCompiler compiler, final Options 
configuration) throws IOException {
-        final ToolExecutor executor = createExecutor(null);
+        final ToolExecutor executor = 
createExecutor(useOrCreateListener(null));

Review Comment:
   This call to `useOrCreateListener` duplicates the same call done in 
`createExecutor`.



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

Reply via email to