Remove redundant close() call from JarResourceManagerTests

See gh-22213
This commit is contained in:
XenoAmess 2020-07-03 18:34:06 +08:00 committed by Andy Wilkinson
parent eb56bb5797
commit 623b3ab96e

View File

@ -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);
}