This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fc27650411 Update TestExcelStyleDateFormatter.java (#1132)
fc27650411 is described below

commit fc27650411164c44fcdf691b2bd7a72d62681255
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Jun 11 13:35:07 2026 +0100

    Update TestExcelStyleDateFormatter.java (#1132)
---
 .../java/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/poi/src/test/java/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
 
b/poi/src/test/java/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
index f905470f88..8264a65678 100644
--- 
a/poi/src/test/java/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
+++ 
b/poi/src/test/java/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
@@ -74,10 +74,6 @@ class TestExcelStyleDateFormatter {
      * is expected and selected via an index
      */
     private static int localeIndex(Locale locale) {
-        if (jreVersion < 9) {
-            return 0;
-        }
-
         // only Chinese needs special handling
         if (!locale.equals (Locale.CHINESE)) {
             return 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to