diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-06-24 00:37:03 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-06-24 00:37:03 +0000 |
commit | 07cb031c2ece83239299e3af8acbb6f22202d15d (patch) | |
tree | 63254c7bf78846dd214b52c5a5cac40e5ba3afc6 | |
parent | 840904ed91b83e75550fdab0c07123caed92c7b6 (diff) | |
download | poi-07cb031c2ece83239299e3af8acbb6f22202d15d.tar.gz poi-07cb031c2ece83239299e3af8acbb6f22202d15d.zip |
[Bug 60422] Fix forbidden-api build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799723 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java b/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java index d98133de19..b7990b43fd 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java +++ b/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java @@ -862,7 +862,7 @@ public class TestDataFormatter { try { char euro = '\u20AC'; DataFormatter df = new DataFormatter(Locale.GERMANY); - String formatString = String.format( + String formatString = String.format(Locale.ROOT, "_-* #,##0.00\\ \"%s\"_-;\\-* #,##0.00\\ \"%s\"_-;_-* \"-\"??\\ \"%s\"_-;_-@_-", euro, euro, euro); assertEquals("4.33 " + euro, df.formatRawCellContents(4.33, 178, formatString)); |