Fix some compile warnings

This commit is contained in:
Phillip Webb
2014-01-26 22:54:04 -08:00
parent 5a47360cb5
commit c1f8fd2bac
5 changed files with 32 additions and 25 deletions

View File

@@ -126,6 +126,7 @@ public class ExplodedArchiveTests {
}
@Test
@SuppressWarnings("resource")
public void getFilteredArchive() throws Exception {
Archive filteredArchive = this.archive
.getFilteredArchive(new Archive.EntryRenameFilter() {

View File

@@ -281,6 +281,7 @@ public class RandomAccessJarFileTests {
}
@Test
@SuppressWarnings("resource")
public void verifySignedJar() throws Exception {
String classpath = System.getProperty("java.class.path");
String[] entries = classpath.split(System.getProperty("path.separator"));