elharo commented on code in PR #1022:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/1022#discussion_r2731922649


##########
src/main/java/org/apache/maven/plugin/compiler/Options.java:
##########
@@ -320,13 +320,13 @@ private boolean checkNumberOfArguments(String option, int 
count, boolean immedia
         if (expected == count) {
             warning = null;
             return true;
-        } else if (expected < 1) {
+        } else if (expected == 0) {

Review Comment:
   This might still be wrong. 



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