aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi/openxml4j/opc
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2009-10-04 16:01:29 +0000
committerYegor Kozlov <yegor@apache.org>2009-10-04 16:01:29 +0000
commit8f4139a9a6041ec05a30223f84f39e0939bc863b (patch)
tree0569e0b65c13395ef1fd7ec0ed8abdc9493a7a83 /src/ooxml/testcases/org/apache/poi/openxml4j/opc
parent31236d1bd5b343fda6076865209cdc843489b6a8 (diff)
downloadpoi-8f4139a9a6041ec05a30223f84f39e0939bc863b.tar.gz
poi-8f4139a9a6041ec05a30223f84f39e0939bc863b.zip
reduced the number of compiler warnings generated by JDK 1.6.13 with -Xlint
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@821551 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/openxml4j/opc')
-rw-r--r--src/ooxml/testcases/org/apache/poi/openxml4j/opc/compliance/TestOPCCompliancePartName.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/openxml4j/opc/compliance/TestOPCCompliancePartName.java b/src/ooxml/testcases/org/apache/poi/openxml4j/opc/compliance/TestOPCCompliancePartName.java
index c7db283942..2593594522 100644
--- a/src/ooxml/testcases/org/apache/poi/openxml4j/opc/compliance/TestOPCCompliancePartName.java
+++ b/src/ooxml/testcases/org/apache/poi/openxml4j/opc/compliance/TestOPCCompliancePartName.java
@@ -91,7 +91,7 @@ public final class TestOPCCompliancePartName extends TestCase {
try {
uri = new URI(s);
} catch (URISyntaxException e) {
- assertTrue(s == "[Content_Types].xml");
+ assertTrue(s.equals("[Content_Types].xml"));
continue;
}
assertFalse("This part name SHOULD NOT be valid: " + s,