Fix a number of errorprone warnings in tests.

This commit is contained in:
Tim Donohue
2020-02-10 11:44:00 -06:00
parent db09a70d8f
commit e69a63c5a7
13 changed files with 70 additions and 88 deletions

View File

@@ -264,8 +264,8 @@ public class IPMatcherTest {
assertFalse(ipMatcher.match("192.1.2.2"));
}
private ArrayList<String> getAllIp4Except(ArrayList<String> exceptions) {
// Commented out as this is currently not used in tests
/*private ArrayList<String> getAllIp4Except(ArrayList<String> exceptions) {
int d1 = 0;
int d2 = 0;
int d3 = 0;
@@ -284,7 +284,7 @@ public class IPMatcherTest {
}
}
return ips;
}
}*/
private void verifyAllIp4Except(ArrayList<String> exceptions, boolean asserted, IPMatcher ipMatcher)
throws IPMatcherException {