diff options
author | Marco Miller <marco.miller@ericsson.com> | 2020-11-23 12:27:50 -0500 |
---|---|---|
committer | Marco Miller <marco.miller@ericsson.com> | 2020-11-23 12:31:16 -0500 |
commit | ada8228a735d80a0a8652761621ca1d8c5ba986d (patch) | |
tree | 0fc04815d52127db59f99ee7f47c2cf8ac9df4a8 | |
parent | 3991d53b30a02c0ffa6fc34385c963257de23349 (diff) |
CreateProjectTask: Apply google-java formatting
Change-Id: If60ee5fa5297a11f8f685fefb61ad80e8f3c2990
-rw-r--r-- | src/main/java/com/googlesource/gerrit/plugins/replication/CreateProjectTask.java | 6 |
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); } |