This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit d5b2cdd565777cc6cdcc1ce2071cb909a92fb8c4 Author: Benoit Tellier <[email protected]> AuthorDate: Thu Dec 5 10:09:49 2019 +0700 JAMES-2110 Remove unused buffer --- .../java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java | 1 - 1 file changed, 1 deletion(-) diff --git a/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java b/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java index b9d29fb..029cae5 100644 --- a/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java +++ b/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java @@ -310,7 +310,6 @@ public class MaildirMessageMapper extends AbstractMessageMapper { } try (FileOutputStream fos = new FileOutputStream(messageFile); InputStream input = message.getFullContent()) { - byte[] b = new byte[BUF_SIZE]; IOUtils.copy(input, fos, BUF_SIZE); } } catch (IOException ioe) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
