Remove redundant close() call from JarResourceManagerTests

See gh-22213
pull/22256/head
XenoAmess 4 years ago committed by Andy Wilkinson
parent eb56bb5797
commit 623b3ab96e

@ -45,7 +45,6 @@ class JarResourceManagerTests {
try (JarOutputStream out = new JarOutputStream(new FileOutputStream(jar))) { try (JarOutputStream out = new JarOutputStream(new FileOutputStream(jar))) {
out.putNextEntry(new ZipEntry("hello.txt")); out.putNextEntry(new ZipEntry("hello.txt"));
out.write("hello".getBytes()); out.write("hello".getBytes());
out.close();
} }
this.resourceManager = new JarResourceManager(jar); this.resourceManager = new JarResourceManager(jar);
} }

Loading…
Cancel
Save