[Bug 60422] Fix forbidden-api build issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799723 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2017-06-24 00:37:03 +00:00
parent c1cc93a2ef
commit eee5205d0c

View File

@ -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));