diff options
author | David Pursehouse <dpursehouse@collab.net> | 2019-03-14 09:01:59 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2019-03-14 09:08:30 +0900 |
commit | 7a519876e5eaec14a86d091962a767054530709e (patch) | |
tree | fe099a465a92f6ae30156703d13cfa9c564c454f /java/com/google/gerrit/sshd/commands/SetMembersCommand.java | |
parent | fed5a852ffc4e21df6673715ac8febb52dd578d8 (diff) | |
parent | 70c569da872934815f43cb16db8286d14b6b2dfa (diff) |
Merge branch 'stable-2.15' into stable-2.16
* stable-2.15:
Upgrade google-java-format to 1.7
Change-Id: Ia7383822ef59fb60bb5559956a065ae46b2e4f4a
Diffstat (limited to 'java/com/google/gerrit/sshd/commands/SetMembersCommand.java')
-rw-r--r-- | java/com/google/gerrit/sshd/commands/SetMembersCommand.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/com/google/gerrit/sshd/commands/SetMembersCommand.java b/java/com/google/gerrit/sshd/commands/SetMembersCommand.java index 9d7f2d93f0..324257b93a 100644 --- a/java/com/google/gerrit/sshd/commands/SetMembersCommand.java +++ b/java/com/google/gerrit/sshd/commands/SetMembersCommand.java @@ -132,8 +132,7 @@ public class SetMembersCommand extends SshCommand { String action, GroupResource group, List<Account.Id> accountIdList) throws UnsupportedEncodingException, IOException { String names = - accountIdList - .stream() + accountIdList.stream() .map( accountId -> { Optional<AccountState> accountState = accountCache.get(accountId); @@ -152,8 +151,7 @@ public class SetMembersCommand extends SshCommand { String action, GroupResource group, List<AccountGroup.UUID> groupUuidList) throws UnsupportedEncodingException, IOException { String names = - groupUuidList - .stream() + groupUuidList.stream() .map(uuid -> groupCache.get(uuid).map(InternalGroup::getName)) .flatMap(Streams::stream) .collect(joining(", ")); |