aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/dev
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2015-09-01 19:06:53 +0000
committerNick Burch <nick@apache.org>2015-09-01 19:06:53 +0000
commit6b67b0b1e0b4d9866b658cbbbb069b268ec249a7 (patch)
tree0eddd00c854ae462e1a8213d48dedfb506226d02 /src/testcases/org/apache/poi/hssf/dev
parent1c21c4efc65d7d16879ae90382b9d1f5bd9d8b8d (diff)
downloadpoi-6b67b0b1e0b4d9866b658cbbbb069b268ec249a7.tar.gz
poi-6b67b0b1e0b4d9866b658cbbbb069b268ec249a7.zip
Fix some Forbidden APIs errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/dev')
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java b/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java
index 48c65895cf..677d9a7b1c 100644
--- a/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java
+++ b/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java
@@ -25,6 +25,7 @@ import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
+import java.util.Locale;
import org.apache.poi.POIDataSamples;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
@@ -65,7 +66,7 @@ public abstract class BaseXLSIteratingTest {
String[] files = new File(dir).list(new FilenameFilter() {
@Override
public boolean accept(File arg0, String arg1) {
- return arg1.toLowerCase().endsWith(".xls");
+ return arg1.toLowerCase(Locale.ROOT).endsWith(".xls");
}
});