summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Miller <marco.miller@ericsson.com>2020-11-23 12:42:11 -0500
committerMarco Miller <marco.miller@ericsson.com>2020-11-23 12:42:21 -0500
commit2b6d691d5fb6f918cd15dbff2432e228e457aa0f (patch)
tree39394dd4438f5af7e9ea9189020921bfa29df6a0
parent13f8bb9895c6f7b6ce675bd78835ac7007416d99 (diff)
parentada8228a735d80a0a8652761621ca1d8c5ba986d (diff)
Merge branch 'stable-3.2' into stable-3.3v3.3.0-rc7v3.3.0
* stable-3.2: CreateProjectTask: Apply google-java formatting Change-Id: I34dd8301c2b9fcb2a8e10964c5b8d5d448227b6a
-rw-r--r--src/main/java/com/googlesource/gerrit/plugins/replication/CreateProjectTask.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/CreateProjectTask.java b/src/main/java/com/googlesource/gerrit/plugins/replication/CreateProjectTask.java
index 2599b9b..2436fee 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/CreateProjectTask.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/CreateProjectTask.java
@@ -51,10 +51,8 @@ public class CreateProjectTask {
}
public boolean create() {
- return destinations
- .getURIs(Optional.of(config.getName()), project, FilterType.PROJECT_CREATION)
- .values()
- .stream()
+ return destinations.getURIs(Optional.of(config.getName()), project, FilterType.PROJECT_CREATION)
+ .values().stream()
.map(u -> createProject(u, project, head))
.reduce(true, (a, b) -> a && b);
}