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 bt...@apache.org on 2019/11/18 02:51:18 UTC

[james-project] 44/44: JAMES-2632 Fix typo in MailboxFactory

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 efc3749e56e1cddf2ad42bff9073a4b18cee6a32
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Nov 14 15:06:16 2019 +0700

    JAMES-2632 Fix typo in MailboxFactory
---
 .../src/main/java/org/apache/james/jmap/draft/model/MailboxFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/protocols/jmap-draft/src/main/java/org/apache/james/jmap/draft/model/MailboxFactory.java b/server/protocols/jmap-draft/src/main/java/org/apache/james/jmap/draft/model/MailboxFactory.java
index 796cf59..3d520bb 100644
--- a/server/protocols/jmap-draft/src/main/java/org/apache/james/jmap/draft/model/MailboxFactory.java
+++ b/server/protocols/jmap-draft/src/main/java/org/apache/james/jmap/draft/model/MailboxFactory.java
@@ -130,7 +130,7 @@ public class MailboxFactory {
 
         private MailboxId computeMailboxId() {
             int idCount = Booleans.countTrue(id.isPresent(), mailboxMetaData.isPresent());
-            Preconditions.checkState(idCount == 1, "You need exectly one 'id' 'mailboxMetaData'");
+            Preconditions.checkState(idCount == 1, "You need exactly one 'id' 'mailboxMetaData'");
             return OptionalUtils.or(
                 id,
                 mailboxMetaData.map(MailboxMetaData::getId))


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