diff options
author | Nick Burch <nick@apache.org> | 2015-09-01 21:09:20 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2015-09-01 21:09:20 +0000 |
commit | 498f0b20e6d013c5a7caf7d23999ae887d5a9708 (patch) | |
tree | 8a16e27b42f0dc5c86df4720bee5f41828985bb5 /src/testcases/org/apache/poi/hpsf | |
parent | 8ea74b39d91155f2a728e13b6cc0bdbdc1d4d093 (diff) | |
download | poi-498f0b20e6d013c5a7caf7d23999ae887d5a9708.tar.gz poi-498f0b20e6d013c5a7caf7d23999ae887d5a9708.zip |
Fix some Forbidden APIs errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700670 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hpsf')
-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 b908c933a2..ed79510f40 100644 --- a/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java +++ b/src/testcases/org/apache/poi/hpsf/basic/TestClassID.java @@ -17,6 +17,8 @@ package org.apache.poi.hpsf.basic; +import java.util.Locale; + import junit.framework.Assert; import junit.framework.TestCase; @@ -115,7 +117,7 @@ public final class TestClassID extends TestCase { 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10} , 0 ); - Assert.assertEquals(clsidTest.toString().toUpperCase(), + Assert.assertEquals(clsidTest.toString().toUpperCase(Locale.ROOT), "{04030201-0605-0807-090A-0B0C0D0E0F10}" ); } |