james-server-dev mailing list archives

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


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

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

----------------------------------------------------------------------
 .../java/org/apache/james/jmap/crypto/AccessTokenManagerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/ff5a1dd8/server/protocols/jmap/src/main/java/org/apache/james/jmap/crypto/AccessTokenManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/crypto/AccessTokenManagerImpl.java
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/crypto/AccessTokenManagerImpl.java
index cf99e9c..efe279a 100644
--- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/crypto/AccessTokenManagerImpl.java
+++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/crypto/AccessTokenManagerImpl.java
@@ -44,7 +44,7 @@ public class AccessTokenManagerImpl implements AccessTokenManager {
     public AccessToken grantAccessToken(String username) {
         Preconditions.checkNotNull(username);
         AccessToken accessToken = AccessToken.generate();
-        accessTokenRepository.addToken(username, accessToken);
+        accessTokenRepository.addToken(username, accessToken).join();
         return accessToken;
     }
 


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