]> source.dussan.org Git - poi.git/commitdiff
forbidden apis check fix
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 8 Mar 2020 23:27:44 +0000 (23:27 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 8 Mar 2020 23:27:44 +0000 (23:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874991 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hpsf/basic/TestClassID.java

index 4b334f689b16a8e7bc2b1e53361881ffcdd63a0b..7be9bbf3f7e054cdb73f6ae43c7d71201c19f1a1 100644 (file)
@@ -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));
     }
 }