commit | d8a62fbc93560fc40752fed71b909756ac125114 | [log] [tgz] |
---|---|---|
author | Christian Aistleitner <christian@quelltextlich.at> | Fri May 08 16:42:01 2020 +0200 |
committer | Christian Aistleitner <christian@quelltextlich.at> | Fri May 08 16:43:50 2020 +0200 |
tree | 84e451ee46115df50cd0d9ddd0ed6eb7b6275df6 | |
parent | 148cc27eb5944c22b046cca56626e67e64b63912 [diff] |
Format files with google-java-format Change-Id: If99197a7ba063ecad120587545038fce96460f10
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/FireEventOnCommits.java b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/FireEventOnCommits.java index 259829d..7ade76b 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/FireEventOnCommits.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/FireEventOnCommits.java
@@ -68,9 +68,7 @@ String projectName = extractedParameters.get().getProjectName(); Set<Map<String, String>> issuesProperties = - commitCollector - .collect(properties) - .stream() + commitCollector.collect(properties).stream() .map(commitId -> issueExtractor.getIssueIds(projectName, commitId)) .flatMap(Stream::of) .map(
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/commit_collector/SinceLastTagCommitCollector.java b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/commit_collector/SinceLastTagCommitCollector.java index dbe597d..d8f1ec1 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/commit_collector/SinceLastTagCommitCollector.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/commit_collector/SinceLastTagCommitCollector.java
@@ -76,9 +76,7 @@ private boolean isTagged(Repository repo, RevCommit commit) throws IOException { ObjectId commitId = commit.getId(); try (RevWalk revWalk = new RevWalk(repo)) { - return repo.getRefDatabase() - .getRefsByPrefix(Constants.R_TAGS) - .stream() + return repo.getRefDatabase().getRefsByPrefix(Constants.R_TAGS).stream() .map(Ref::getObjectId) .map( refObjectId -> {