slawekjaranowski commented on code in PR #76:
URL: https://github.com/apache/maven-invoker/pull/76#discussion_r1590274270


##########
src/main/java/org/apache/maven/shared/invoker/DefaultInvocationRequest.java:
##########
@@ -471,6 +472,12 @@ public InvocationRequest addArg(String arg) {
         return this;
     }
 
+    @Override
+    public InvocationRequest addArgs(Collection<String> args) {
+        args.stream().filter(arg -> 
!StringUtils.isBlank(arg)).forEach(this.args::add);

Review Comment:
   ok, such those are new methods we can simplify it



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to