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/11/18 02:51:02 UTC
[james-project] 28/44: [Refactoring] MimeDescriptorImpl: Remove not
thrown exception
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 <bt...@linagora.com>
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org