Polish
This commit is contained in:
@@ -170,9 +170,13 @@ public class JarFileTests {
|
||||
|
||||
@Test
|
||||
public void getSize() throws Exception {
|
||||
try (ZipFile zip = new ZipFile(this.rootJarFile)) {
|
||||
ZipFile zip = new ZipFile(this.rootJarFile);
|
||||
try {
|
||||
assertThat(this.jarFile.size()).isEqualTo(zip.size());
|
||||
}
|
||||
finally {
|
||||
zip.close();
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user