Skip to content

Commit b155f0e

Browse files
authored
Merge pull request #51 from tls-attacker/fix-static-methods
Fix static method declarations
2 parents e4815cc + 8c7c1f8 commit b155f0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/de/rub/nds/crawler/denylist/DenylistFileProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public DenylistFileProvider(String denylistFilename) {
5858
}
5959
}
6060

61-
private boolean isInSubnet(String ip, SubnetUtils.SubnetInfo subnetInfo) {
61+
private static boolean isInSubnet(String ip, SubnetUtils.SubnetInfo subnetInfo) {
6262
try {
6363
return subnetInfo.isInRange(ip);
6464
} catch (IllegalArgumentException e) {

src/main/java/de/rub/nds/crawler/targetlist/ZipFileProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public List<String> getTargetList() {
9090
return targetList;
9191
}
9292

93-
private InflaterInputStream getZipInputStream(String filename) throws IOException {
93+
private static InflaterInputStream getZipInputStream(String filename) throws IOException {
9494
if (filename.contains(".gz")) {
9595
return new GZIPInputStream(new FileInputStream(filename));
9696
} else {

0 commit comments

Comments
 (0)