mirror of https://github.com/apache/poi.git
[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:
parent
840904ed91
commit
07cb031c2e
|
@ -862,7 +862,7 @@ public class TestDataFormatter {
|
||||||
try {
|
try {
|
||||||
char euro = '\u20AC';
|
char euro = '\u20AC';
|
||||||
DataFormatter df = new DataFormatter(Locale.GERMANY);
|
DataFormatter df = new DataFormatter(Locale.GERMANY);
|
||||||
String formatString = String.format(
|
String formatString = String.format(Locale.ROOT,
|
||||||
"_-* #,##0.00\\ \"%s\"_-;\\-* #,##0.00\\ \"%s\"_-;_-* \"-\"??\\ \"%s\"_-;_-@_-",
|
"_-* #,##0.00\\ \"%s\"_-;\\-* #,##0.00\\ \"%s\"_-;_-* \"-\"??\\ \"%s\"_-;_-@_-",
|
||||||
euro, euro, euro);
|
euro, euro, euro);
|
||||||
assertEquals("4.33 " + euro, df.formatRawCellContents(4.33, 178, formatString));
|
assertEquals("4.33 " + euro, df.formatRawCellContents(4.33, 178, formatString));
|
||||||
|
|
Loading…
Reference in New Issue