james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [2/4] james-project git commit: JAMES-2110 Improve message error upon keyword failed parsing readability
Date Mon, 09 Apr 2018 07:31:42 GMT
JAMES-2110 Improve message error upon keyword failed parsing readability


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

Branch: refs/heads/master
Commit: 2ca396f191f1d4b326485ab51c1709ba0824ed3f
Parents: b999304
Author: benwa <btellier@linagora.com>
Authored: Fri Apr 6 14:19:13 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Mon Apr 9 14:30:55 2018 +0700

----------------------------------------------------------------------
 .../jmap/src/main/java/org/apache/james/jmap/model/Keyword.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/2ca396f1/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keyword.java
----------------------------------------------------------------------
diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keyword.java
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keyword.java
index a9f0e7f..1ea0ed4 100644
--- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keyword.java
+++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Keyword.java
@@ -67,7 +67,8 @@ public class Keyword {
 
     public Keyword(String flagName) {
         Preconditions.checkArgument(isValid(flagName),
-                "Flagname must not be null or empty, must have length form 1-255, must not
contain charater with hex from '\u0000' to '\u00019' or {'(' ')' '{' ']' '%' '*' '\"' '\\'}
");
+                "Flagname must not be null or empty, must have length form 1-255, " +
+                    "must not contain charater with hex from '\\u0000' to '\\u00019' or {'('
')' '{' ']' '%' '*' '\"' '\\'} ");
         this.flagName = flagName;
     }
 


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


Mime
View raw message