Remove redundant semicolons
Change-Id: I1320541d6ee1d8b1939623a7cdc7119fd3789e7e
diff --git a/src/main/java/com/googlesource/gerrit/plugins/findowners/OwnersValidator.java b/src/main/java/com/googlesource/gerrit/plugins/findowners/OwnersValidator.java
index a91f3e4..11559df 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/findowners/OwnersValidator.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/findowners/OwnersValidator.java
@@ -241,7 +241,6 @@
for (String line : lines) {
checkLine(project, path, ++num, line);
}
- ;
}
void checkFile(String project, String path, String content) {
diff --git a/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java b/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
index c88283f..b074992 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/findowners/OwnersValidatorIT.java
@@ -191,7 +191,7 @@
statement += s + "\n";
}
return statement;
- };
+ }
private static Set<String> allIncludeMsgs() {
Set<String> msgs = new HashSet<>();
@@ -202,7 +202,7 @@
}
}
return msgs;
- };
+ }
private static final ImmutableMap<String, String> FILES_WITH_NO_ERROR =
ImmutableMap.of(
@@ -247,7 +247,7 @@
msgs.add("MSG: skip repeated include of " + s);
}
return msgs;
- };
+ }
private static final ImmutableSet<String> EXPECTED_VERBOSE_OUTPUT =
ImmutableSet.copyOf(allVerboseMsgs());