Remove unnecessary warning suppressions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David North 2015-10-16 09:00:43 +00:00
parent 6f2e63db99
commit e1222ec5c2
1 changed files with 0 additions and 2 deletions

View File

@ -240,7 +240,6 @@ public class TestSignatureInfo {
public void testManipulation() throws Exception {
// sign & validate
String testFile = "hello-world-unsigned.xlsx";
@SuppressWarnings("resource")
OPCPackage pkg = OPCPackage.open(copy(testdata.getFile(testFile)), PackageAccess.READ_WRITE);
sign(pkg, "Test", "CN=Test", 1);
@ -289,7 +288,6 @@ public class TestSignatureInfo {
pkg.close();
}
@SuppressWarnings("resource")
@Test
public void testSignEnvelopingDocument() throws Exception {
String testFile = "hello-world-unsigned.xlsx";