mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Remove redundant close() call from JarResourceManagerTests
See gh-22213
This commit is contained in:
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user