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 195ab61fadbb16bc3418388e4fb233f5ade4b991
Author: Benoit Tellier <btell...@linagora.com>
AuthorDate: Thu Nov 14 11:09:45 2019 +0700

    [Refactoring] MessageResultImpl: Remove redundant cast
---
 .../src/main/java/org/apache/james/mailbox/store/MessageResultImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/mailbox/store/src/main/java/org/apache/james/mailbox/store/MessageResultImpl.java
 
b/mailbox/store/src/main/java/org/apache/james/mailbox/store/MessageResultImpl.java
index 53f2201..775ae7a 100644
--- 
a/mailbox/store/src/main/java/org/apache/james/mailbox/store/MessageResultImpl.java
+++ 
b/mailbox/store/src/main/java/org/apache/james/mailbox/store/MessageResultImpl.java
@@ -243,7 +243,7 @@ public class MessageResultImpl implements MessageResult {
     }
 
     private PartContent getPartContent(MimePath path) {
-        PartContent result = (PartContent) partsByPath.get(path);
+        PartContent result = partsByPath.get(path);
         if (result == null) {
             result = new PartContent();
             partsByPath.put(path, result);


---------------------------------------------------------------------
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