From: Andreas Beeker Date: Sun, 8 Mar 2020 23:27:44 +0000 (+0000) Subject: forbidden apis check fix X-Git-Tag: before_ooxml_3rd_edition~371 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69cb2da52e1d99484e5c1841936d11b4ac6b3d98;p=poi.git forbidden apis check fix git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874991 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java b/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java index 4b334f689b..7be9bbf3f7 100644 --- a/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java +++ b/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java @@ -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)); } }