You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/12/06 02:34:22 UTC
[james-project] 12/21: JAMES-2110 Remove unused buffer
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 <bt...@linagora.com>
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org