ICU-10026 Add comment to normalizePlusAndMinus function in DecimalFormat.

X-SVN-Rev: 33466
This commit is contained in:
Travis Keep 2013-03-27 15:52:49 +00:00
parent d3f8a3c777
commit 7c6a50445b

View File

@ -1765,6 +1765,11 @@ public class DecimalFormat extends NumberFormat {
return (CurrencyAmount) parse(text.toString(), pos, currency);
}
/**
* NormalizePlusAndMinus substitutes any rendition of plus or minus sign in
* text with the plus or minus sign for the current locale and returns the
* new string.
*/
private String normalizePlusAndMinus(String text) {
StringBuilder builder = null;
int len = text.length();