Merge branch 'stable-2.16'

* stable-2.16:
  Update download-commands plugin revision
  Upgrade google-java-format to 1.7

Change-Id: I6e959cde5b4790b469902245c3a2278883c65cad
This commit is contained in:
David Pursehouse
2019-03-14 09:46:27 +09:00
147 changed files with 221 additions and 587 deletions

View File

@@ -36,9 +36,7 @@ public class LockFailureException extends IOException {
public LockFailureException(String message, BatchRefUpdate batchRefUpdate) {
super(message);
refs =
batchRefUpdate
.getCommands()
.stream()
batchRefUpdate.getCommands().stream()
.filter(c -> c.getResult() == ReceiveCommand.Result.LOCK_FAILURE)
.map(ReceiveCommand::getRefName)
.collect(toImmutableList());