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 <btell...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to