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/13 02:39:37 UTC
[james-project] 21/27: PROTOCOLS-120 ImapEncoders should no longer
be chained
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 efe4133a8b8f47298dd2c9a27db2f969dfb5f2e2
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Tue Dec 10 16:36:43 2019 +0700
PROTOCOLS-120 ImapEncoders should no longer be chained
---
.../java/org/apache/james/imap/encode/ImapResponseEncoder.java | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/protocols/imap/src/main/java/org/apache/james/imap/encode/ImapResponseEncoder.java b/protocols/imap/src/main/java/org/apache/james/imap/encode/ImapResponseEncoder.java
index 422a0c0..86f2d5f 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/encode/ImapResponseEncoder.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/encode/ImapResponseEncoder.java
@@ -27,14 +27,7 @@ public interface ImapResponseEncoder<T extends ImapMessage> {
Class<T> acceptableMessages();
/**
- * Writes response.
- *
- * @param message
- * <code>ImapMessage</code>, not null
- * @param composer
- * <code>ImapResponseComposer</code>, not null
- * @throws IOException
- * when message encoding fails
+ * Encodes the given message by the mean of the provided composer
*/
void encode(T message, ImapResponseComposer composer) throws IOException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org