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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user