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:12:05 UTC

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

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



##########
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:
       seems to belong to a separate PR




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