aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid North <dnorth@apache.org>2015-10-16 09:00:43 +0000
committerDavid North <dnorth@apache.org>2015-10-16 09:00:43 +0000
commite1222ec5c2ce6a00ed04350f9d733e3f5439d4c6 (patch)
tree3fff1336ca98c798a23e68b081aecf5648b3d83e
parent6f2e63db992e1d6e3e13c354aaa801a5da34c1c1 (diff)
downloadpoi-e1222ec5c2ce6a00ed04350f9d733e3f5439d4c6.tar.gz
poi-e1222ec5c2ce6a00ed04350f9d733e3f5439d4c6.zip
Remove unnecessary warning suppressions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708921 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java2
1 files changed, 0 insertions, 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 79edd32fbd..3f316ed4ee 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";