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 2020/07/17 02:24:29 UTC
[james-project] 15/31: [REFACTORING] IMAP FETCH javaDoc fixes
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 3f1f17194c30e0ffffa60e16a8529a20b9dc8f9b
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Jul 16 11:39:27 2020 +0700
[REFACTORING] IMAP FETCH javaDoc fixes
This solves some intellij warnings
---
.../java/org/apache/james/imap/processor/fetch/EnvelopeBuilder.java | 5 +----
.../org/apache/james/imap/processor/fetch/HeadersBodyElement.java | 1 -
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/EnvelopeBuilder.java b/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/EnvelopeBuilder.java
index 123c152..7513443 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/EnvelopeBuilder.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/EnvelopeBuilder.java
@@ -97,11 +97,8 @@ public final class EnvelopeBuilder {
/**
* Try to parse the addresses out of the header. If its not possible because
* of a {@link ParseException} a null value is returned
- *
- * @param message
- * @param headerName
+ *
* @return addresses
- * @throws MailboxException
*/
private FetchResponse.Envelope.Address[] buildAddresses(Headers message, String headerName) throws MailboxException {
final Header header = MessageResultUtils.getMatching(headerName, message.headers());
diff --git a/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/HeadersBodyElement.java b/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/HeadersBodyElement.java
index f11375e..9b81c2e 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/HeadersBodyElement.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/processor/fetch/HeadersBodyElement.java
@@ -35,7 +35,6 @@ public class HeadersBodyElement extends ContentBodyElement {
/**
* Indicate that there is no text body in the message. In this case we don't need to write a single CRLF in anycase if
* this Element does not contain a header.
- * @throws IOException
*/
public void noBody() throws IOException {
if (super.size() == 0) {
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org