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 ad...@apache.org on 2017/12/18 19:35:01 UTC

[25/50] [abbrv] james-project git commit: JAMES-2199 Combine string literals

JAMES-2199 Combine string literals


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/dc9c53b5
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/dc9c53b5
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/dc9c53b5

Branch: refs/heads/master
Commit: dc9c53b5ac1e5525985aca72bf62c61640d5fe7e
Parents: ac23d15
Author: Daniel Trebbien <dt...@gmail.com>
Authored: Fri Oct 20 10:36:57 2017 -0500
Committer: Antoine Duprat <ad...@linagora.com>
Committed: Mon Dec 18 20:31:52 2017 +0100

----------------------------------------------------------------------
 .../org/apache/james/transport/mailets/MimeDecodingMailet.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/dc9c53b5/mailet/standard/src/main/java/org/apache/james/transport/mailets/MimeDecodingMailet.java
----------------------------------------------------------------------
diff --git a/mailet/standard/src/main/java/org/apache/james/transport/mailets/MimeDecodingMailet.java b/mailet/standard/src/main/java/org/apache/james/transport/mailets/MimeDecodingMailet.java
index 34fd70b..b9402bd 100644
--- a/mailet/standard/src/main/java/org/apache/james/transport/mailets/MimeDecodingMailet.java
+++ b/mailet/standard/src/main/java/org/apache/james/transport/mailets/MimeDecodingMailet.java
@@ -83,9 +83,8 @@ public class MimeDecodingMailet extends GenericMailet {
     private Map<String, byte[]> getAttributeContent(Mail mail) throws MailetException {
         Serializable attributeContent = mail.getAttribute(attribute);
         if (! (attributeContent instanceof Map)) {
-            LOGGER.debug("Invalid attribute found into attribute "
-                    + "{} class Map expected but "
-                    + "{} found.", attribute, attributeContent.getClass());
+            LOGGER.debug("Invalid attribute found into attribute {} class Map expected but {} found.",
+                    attribute, attributeContent.getClass());
             return ImmutableMap.of();
         }
         return (Map<String, byte[]>) attributeContent;


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org