poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1874991 - /poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java
Date Sun, 08 Mar 2020 23:27:44 GMT
Author: kiwiwings
Date: Sun Mar  8 23:27:44 2020
New Revision: 1874991

URL: http://svn.apache.org/viewvc?rev=1874991&view=rev
Log:
forbidden apis check fix

Modified:
    poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java

Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java?rev=1874991&r1=1874990&r2=1874991&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java Sun Mar  8 23:27:44
2020
@@ -20,6 +20,8 @@ package org.apache.poi.hpsf.basic;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotEquals;
 
+import java.util.Locale;
+
 import org.apache.poi.hpsf.ClassID;
 import org.apache.poi.hpsf.ClassIDPredefined;
 import org.junit.Test;
@@ -78,6 +80,6 @@ public final class TestClassID {
         String exp = "EABCECDB-CC1C-4A6F-B4E3-7F888A5ADFC8";
         ClassID clsId = ClassIDPredefined.EXCEL_V14_ODS.getClassID();
         assertEquals(exp, clsId.toUUIDString());
-        assertEquals(exp, clsId.toUUID().toString().toUpperCase());
+        assertEquals(exp, clsId.toUUID().toString().toUpperCase(Locale.ROOT));
     }
 }



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


Mime
View raw message