james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [34/41] james-project git commit: JAMES-2082 Remove useless future representation
Date Mon, 10 Jul 2017 17:54:46 GMT
JAMES-2082 Remove useless future representation

FluentStreamFuture can be bound directly


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

Branch: refs/heads/master
Commit: c2195a9381304e647b53028397fee04ed0b22ef1
Parents: 24027cc
Author: benwa <btellier@linagora.com>
Authored: Sun Jul 9 15:28:54 2017 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Mon Jul 10 14:23:59 2017 +0200

----------------------------------------------------------------------
 .../apache/james/mailbox/cassandra/mail/CassandraMailboxMapper.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c2195a93/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapper.java
----------------------------------------------------------------------
diff --git a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapper.java
b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapper.java
index 1dd6760..229ce05 100644
--- a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapper.java
+++ b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapper.java
@@ -119,7 +119,6 @@ public class CassandraMailboxMapper implements MailboxMapper {
             .filter(idAndPath -> regex.matcher(idAndPath.getMailboxPath().getName()).matches())
             .map(CassandraMailboxPathDAO.CassandraIdAndPath::getCassandraId)
             .thenFlatComposeOnOptional(mailboxDAO::retrieveMailbox)
-            .completableFuture()
             .join()
             .collect(Guavate.toImmutableList());
     }


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