aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-06-09 21:04:31 +0000
committerPJ Fanning <fanningpj@apache.org>2020-06-09 21:04:31 +0000
commitff67cdf1166a05d6d4a81096a77116da49629c19 (patch)
tree255e301fe90062e0d572440d38eedd15f7d7cf82
parentf235d3357caf60f86bace79665f829bfde6f6edb (diff)
downloadpoi-ff67cdf1166a05d6d4a81096a77116da49629c19.tar.gz
poi-ff67cdf1166a05d6d4a81096a77116da49629c19.zip
test tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878675 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java b/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java
index 23a3164138..4a0115605a 100644
--- a/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java
+++ b/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java
@@ -163,7 +163,7 @@ public final class TestDateFormatConverter {
public void testAllKnownLocales() {
Pattern p = Pattern.compile("\\[\\$-(\\p{XDigit}+)]");
- Set<String> blacklist = Stream.of(
+ Set<String> excludeList = Stream.of(
"sd-Deva", "tzm-Arab", "fuv", "plt", "yue", "tdd-Tale", "tdd",
"khb-Talu", "khb", "qps", "ja-Ploc", "dz", "tmz", "ar-Ploc"
).collect(Collectors.toSet());
@@ -183,7 +183,7 @@ public final class TestDateFormatConverter {
Locale loc = Locale.forLanguageTag(partTag);
assertNotNull("Invalid language tag: "+partTag, loc);
- if (blacklist.contains(partTag)) {
+ if (excludeList.contains(partTag)) {
continue;
}