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/14 02:09:28 UTC
[james-project] 11/32: [Refactoring] StatusCommandParser should not
use final variable
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 798f24b905fd3f7709a7b9f10dc743f770d41ebe
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Wed Nov 13 11:47:55 2019 +0700
[Refactoring] StatusCommandParser should not use final variable
---
.../org/apache/james/imap/decode/parser/StatusCommandParser.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/protocols/imap/src/main/java/org/apache/james/imap/decode/parser/StatusCommandParser.java b/protocols/imap/src/main/java/org/apache/james/imap/decode/parser/StatusCommandParser.java
index 92babee..c319e98 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/decode/parser/StatusCommandParser.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/decode/parser/StatusCommandParser.java
@@ -83,9 +83,9 @@ public class StatusCommandParser extends AbstractImapCommandParser {
}
@Override
- protected ImapMessage decode(ImapCommand command, ImapRequestLineReader request, Tag tag, ImapSession session) throws DecodingException {
- final String mailboxName = request.mailbox();
- final StatusDataItems statusDataItems = statusDataItems(request);
+ protected ImapMessage decode(ImapCommand command, ImapRequestLineReader request, Tag tag, ImapSession session) throws DecodingException {
+ String mailboxName = request.mailbox();
+ StatusDataItems statusDataItems = statusDataItems(request);
request.eol();
return new StatusRequest(command, mailboxName, statusDataItems, tag);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org