Skip to content

Commit

Permalink
Remove AutoClosable from SecureJar to prevent spurious warnings on al…
Browse files Browse the repository at this point in the history
…l getters that return it
  • Loading branch information
shartte committed Jun 2, 2024
1 parent d2c3d97 commit f73803f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/cpw/mods/jarhandling/impl/TestMetadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,9 @@ public Set<String> getPackagesExcluding(String... excludedRootPackages) {
public List<SecureJar.Provider> getMetaInfServices() {
return List.of();
}

@Override
public void close() {
}
}
}

0 comments on commit f73803f

Please sign in to comment.