summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Miller <marco.miller@ericsson.com>2020-11-23 12:27:50 -0500
committerMarco Miller <marco.miller@ericsson.com>2020-11-23 12:31:16 -0500
commitada8228a735d80a0a8652761621ca1d8c5ba986d (patch)
tree0fc04815d52127db59f99ee7f47c2cf8ac9df4a8
parent3991d53b30a02c0ffa6fc34385c963257de23349 (diff)
CreateProjectTask: Apply google-java formatting
-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);
}