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 e9d0e9cc12
commit bb18031ac7

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";