commit | 5a2cb73d8131d1f20e08e815803f46266ca9f74f | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Dec 22 13:35:46 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Wed Dec 22 13:35:46 2021 +0100 |
tree | 802486c883b1be1c76bed281b9316ed24bf759fd | |
parent | 2f0b91ccf5812730169e73a295fae2c255f547b6 [diff] |
Adapt to enabling error level for the UnnecessaryParentheses bug pattern Fix the current issues so that the build continues to work. Bug: Issue 15082 Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I8613c39127f74e82e12e4ee93a4f400038356eed
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java index 00a46de..d1302a5 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
@@ -634,7 +634,7 @@ return true; } - boolean matches = (new ReplicationFilter(projects)).matches(project); + boolean matches = new ReplicationFilter(projects).matches(project); if (!matches) { repLog.atFine().log( "Skipping replication of project %s; does not match filter", project.get());