poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fannin...@apache.org
Subject svn commit: r1878675 - /poi/trunk/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java
Date Tue, 09 Jun 2020 21:04:31 GMT
Author: fanningpj
Date: Tue Jun  9 21:04:31 2020
New Revision: 1878675

URL: http://svn.apache.org/viewvc?rev=1878675&view=rev
Log:
test tidy up

Modified:
    poi/trunk/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java

Modified: poi/trunk/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java?rev=1878675&r1=1878674&r2=1878675&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/ss/util/TestDateFormatConverter.java Tue Jun  9
21:04:31 2020
@@ -163,7 +163,7 @@ public final class TestDateFormatConvert
     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 TestDateFormatConvert
                 Locale loc = Locale.forLanguageTag(partTag);
                 assertNotNull("Invalid language tag: "+partTag, loc);
 
-                if (blacklist.contains(partTag)) {
+                if (excludeList.contains(partTag)) {
                     continue;
                 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message