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/06/19 03:23:25 UTC
[james-project] 04/07: JAMES-2790 Rename correctly variable
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 a355acf7fe3d944b0cf4bdb3f9f958ed17ccd7c4
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Mon Jun 17 11:13:24 2019 +0700
JAMES-2790 Rename correctly variable
---
.../src/test/java/org/apache/james/jmap/JmapCommonRequests.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/JmapCommonRequests.java b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/JmapCommonRequests.java
index f7e4e49..9fdc79d 100644
--- a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/JmapCommonRequests.java
+++ b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/JmapCommonRequests.java
@@ -54,8 +54,8 @@ public class JmapCommonRequests {
public static String getMailboxId(AccessToken accessToken, Role role) {
return getAllMailboxesIds(accessToken).stream()
- .filter(x -> x.get("role").equalsIgnoreCase(role.serialize()))
- .map(x -> x.get("id"))
+ .filter(mailbox -> mailbox.get("role").equalsIgnoreCase(role.serialize()))
+ .map(mailbox -> mailbox.get("id"))
.findFirst().get();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org