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:03 UTC

[27/50] [abbrv] james-project git commit: JAMES-2199 Remove unnecessary parentheses

JAMES-2199 Remove unnecessary parentheses


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

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

----------------------------------------------------------------------
 .../java/org/apache/james/transport/mailets/StripAttachment.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/44980b9e/mailet/standard/src/main/java/org/apache/james/transport/mailets/StripAttachment.java
----------------------------------------------------------------------
diff --git a/mailet/standard/src/main/java/org/apache/james/transport/mailets/StripAttachment.java b/mailet/standard/src/main/java/org/apache/james/transport/mailets/StripAttachment.java
index b3ed2f0..6cc76ba 100644
--- a/mailet/standard/src/main/java/org/apache/james/transport/mailets/StripAttachment.java
+++ b/mailet/standard/src/main/java/org/apache/james/transport/mailets/StripAttachment.java
@@ -411,7 +411,7 @@ public class StripAttachment extends GenericMailet {
         boolean result = isMatchingPattern(name, regExPattern).orElse(false)
                 || !isMatchingPattern(name, notRegExPattern).orElse(true);
 
-        LOGGER.debug("attachment {} {}", name, (result) ? "matches" : "does not match");
+        LOGGER.debug("attachment {} {}", name, result ? "matches" : "does not match");
         return result;
     }
 


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