Remove redundant close() call from JarResourceManagerTests
See gh-22213
This commit is contained in:
committed by
Andy Wilkinson
parent
eb56bb5797
commit
623b3ab96e
@@ -45,7 +45,6 @@ class JarResourceManagerTests {
|
||||
try (JarOutputStream out = new JarOutputStream(new FileOutputStream(jar))) {
|
||||
out.putNextEntry(new ZipEntry("hello.txt"));
|
||||
out.write("hello".getBytes());
|
||||
out.close();
|
||||
}
|
||||
this.resourceManager = new JarResourceManager(jar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user