james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matth...@apache.org
Subject [5/5] james-project git commit: MAILBOX-269 Capabilities should all have singular form
Date Tue, 07 Jun 2016 06:52:01 GMT
MAILBOX-269 Capabilities should all have singular form


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

Branch: refs/heads/master
Commit: 81f7f3a4c361697c1848e42bef0e3ec36b1f4d1a
Parents: 9b5641b
Author: Matthieu Baechler <matthieu.baechler@linagora.com>
Authored: Thu Jun 2 17:25:45 2016 +0200
Committer: Matthieu Baechler <matthieu.baechler@linagora.com>
Committed: Tue Jun 7 08:50:58 2016 +0200

----------------------------------------------------------------------
 .../api/src/main/java/org/apache/james/mailbox/MailboxManager.java | 2 +-
 .../apache/james/mailbox/cassandra/CassandraMailboxManager.java    | 2 +-
 .../org/apache/james/mailbox/inmemory/InMemoryMailboxManager.java  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/81f7f3a4/mailbox/api/src/main/java/org/apache/james/mailbox/MailboxManager.java
----------------------------------------------------------------------
diff --git a/mailbox/api/src/main/java/org/apache/james/mailbox/MailboxManager.java b/mailbox/api/src/main/java/org/apache/james/mailbox/MailboxManager.java
index ee0be38..351d654 100644
--- a/mailbox/api/src/main/java/org/apache/james/mailbox/MailboxManager.java
+++ b/mailbox/api/src/main/java/org/apache/james/mailbox/MailboxManager.java
@@ -72,7 +72,7 @@ public interface MailboxManager extends RequestAware, MailboxListenerSupport
{
 
     enum MailboxCapabilities {
         Move,
-        UserFlags
+        UserFlag
     }
 
     EnumSet<MailboxCapabilities> getSupportedMailboxCapabilities();

http://git-wip-us.apache.org/repos/asf/james-project/blob/81f7f3a4/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxManager.java
----------------------------------------------------------------------
diff --git a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxManager.java
b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxManager.java
index cce0b14..45290f0 100644
--- a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxManager.java
+++ b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/CassandraMailboxManager.java
@@ -64,7 +64,7 @@ public class CassandraMailboxManager extends StoreMailboxManager {
 
     @Override
     public EnumSet<MailboxManager.MailboxCapabilities> getSupportedMailboxCapabilities()
{
-        return EnumSet.of(MailboxCapabilities.Move, MailboxCapabilities.UserFlags);
+        return EnumSet.of(MailboxCapabilities.Move, MailboxCapabilities.UserFlag);
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/james-project/blob/81f7f3a4/mailbox/memory/src/main/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManager.java
----------------------------------------------------------------------
diff --git a/mailbox/memory/src/main/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManager.java
b/mailbox/memory/src/main/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManager.java
index 9b373d0..22fb603 100644
--- a/mailbox/memory/src/main/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManager.java
+++ b/mailbox/memory/src/main/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManager.java
@@ -44,7 +44,7 @@ public class InMemoryMailboxManager extends StoreMailboxManager {
 
     @Override
     public EnumSet<MailboxCapabilities> getSupportedMailboxCapabilities() {
-        return EnumSet.of(MailboxCapabilities.Move, MailboxCapabilities.UserFlags);
+        return EnumSet.of(MailboxCapabilities.Move, MailboxCapabilities.UserFlag);
     }
     
     @Override


---------------------------------------------------------------------
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