You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by GitBox <gi...@apache.org> on 2021/10/03 11:41:51 UTC

[GitHub] [ant] arturobernalg commented on a change in pull request #162: Use Bulk operation instead of iteration.

arturobernalg commented on a change in pull request #162:
URL: https://github.com/apache/ant/pull/162#discussion_r720815321



##########
File path: src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
##########
@@ -294,7 +294,7 @@ public void send() {
                 ? new InternetAddress(addr.getAddress())
                 : new InternetAddress(addr.getAddress(), name));
         }
-        return addrs.toArray(new InternetAddress[addrs.size()]);
+        return addrs.toArray(new InternetAddress[0]);

Review comment:
       Hi @bodewig 
   Reverted.
   TY




-- 
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: dev-unsubscribe@ant.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org