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 ma...@apache.org on 2017/10/05 18:02:32 UTC

[20/27] james-project git commit: MAILBOX-310 Mailbox query refactoring: Reindent isWild

MAILBOX-310 Mailbox query refactoring: Reindent isWild


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

Branch: refs/heads/master
Commit: 6501eab1045d2f56c7796095f744528b25dc2ec4
Parents: 8faf9a6
Author: benwa <bt...@linagora.com>
Authored: Wed Oct 4 10:00:48 2017 +0700
Committer: Matthieu Baechler <ma...@apache.org>
Committed: Thu Oct 5 20:00:38 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/james/mailbox/model/MailboxQuery.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/6501eab1/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxQuery.java
----------------------------------------------------------------------
diff --git a/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxQuery.java b/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxQuery.java
index 6cbbff2..09b12cf 100644
--- a/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxQuery.java
+++ b/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxQuery.java
@@ -275,7 +275,10 @@ public final class MailboxQuery {
      * @return true if wildcard contained, false otherwise
      */
     public boolean isWild() {
-        return expression != null && (expression.indexOf(getFreeWildcard()) >= 0 || expression.indexOf(getLocalWildcard()) >= 0);
+        return expression != null
+            && (
+                expression.indexOf(getFreeWildcard()) >= 0
+                || expression.indexOf(getLocalWildcard()) >= 0);
     }
 
     /**


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