From bb18031ac771fc6ff76f36e9d7006ecdf937ce27 Mon Sep 17 00:00:00 2001 From: David North Date: Fri, 16 Oct 2015 09:00:43 +0000 Subject: [PATCH] Remove unnecessary warning suppressions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708921 13f79535-47bb-0310-9956-ffa450edef68 --- .../testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java b/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java index 79edd32fb..3f316ed4e 100644 --- a/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java +++ b/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java @@ -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";