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 53628059348fb5cfef41da9bcc86a6e13e83c0f9 Author: Benoit Tellier <[email protected]> AuthorDate: Thu Nov 14 11:34:41 2019 +0700 [Refactoring] MimeDescriptorImpl: Remove not thrown exception --- .../main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java b/mailbox/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java index 8e600c0..7f4baae 100644 --- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java +++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/MimeDescriptorImpl.java @@ -301,7 +301,7 @@ public class MimeDescriptorImpl implements MimeDescriptor { } @Override - public InputStream getInputStream() throws IOException { + public InputStream getInputStream() { StringBuilder sb = new StringBuilder(); for (MessageResult.Header header : headers) { sb.append(header.getName()).append(": ").append(header.getValue()).append("\r\n"); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
