diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2020-03-08 23:27:44 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2020-03-08 23:27:44 +0000 |
commit | 69cb2da52e1d99484e5c1841936d11b4ac6b3d98 (patch) | |
tree | 47301d5ebb0ae3cbd7e732fdf94a166a9f48ae0d | |
parent | 40f320bcf9029344a0361ac9d22a20f661f653e1 (diff) | |
download | poi-69cb2da52e1d99484e5c1841936d11b4ac6b3d98.tar.gz poi-69cb2da52e1d99484e5c1841936d11b4ac6b3d98.zip |
forbidden apis check fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874991 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/testcases/org/apache/poi/hpsf/basic/TestClassID.java | 4 |
1 files changed, 3 insertions, 1 deletions
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)); } } |