diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2016-11-29 08:15:49 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2016-11-29 08:15:49 +0000 |
commit | de3b03f028bd891a8448156ad6179aa670ce66f6 (patch) | |
tree | 9c3f0873167b70be5a3fc9875e2f042d68cd6e8f /src | |
parent | 1575f3d26380e2f3c373cd4ccc86dbac40872667 (diff) | |
download | poi-de3b03f028bd891a8448156ad6179aa670ce66f6.tar.gz poi-de3b03f028bd891a8448156ad6179aa670ce66f6.zip |
forbidden apis fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771850 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java index 66e48881c3..2929496d36 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java @@ -24,6 +24,7 @@ import static org.junit.Assume.assumeFalse; import java.io.File;
import java.io.FileFilter;
import java.util.Collection;
+import java.util.Locale;
import java.util.Set;
import java.util.TreeSet;
import java.util.regex.Pattern;
@@ -88,7 +89,7 @@ public class TestPPTX2PNG { @Test
public void render() throws Exception {
- assumeFalse("ignore HSLF / .ppt files in no-scratchpad run", xslfOnly && pptFile.toLowerCase().endsWith("ppt"));
+ assumeFalse("ignore HSLF / .ppt files in no-scratchpad run", xslfOnly && pptFile.toLowerCase(Locale.ROOT).endsWith("ppt"));
String[] args = {
"-format", "null", // png,gif,jpg or null for test
|