ICU-13177 Fixing ICU4J warnings in DecimalFormatProperties and CompactNotation. Reformatting DecimalFormatProperties.java.

X-SVN-Rev: 40511
This commit is contained in:
Shane Carr 2017-09-28 23:26:57 +00:00
parent d8368d6da4
commit 712460af2b
2 changed files with 1341 additions and 1304 deletions

View File

@ -120,6 +120,7 @@ public class CompactNotation extends Notation {
StandardPlural plural = quantity.getStandardPlural(rules);
String patternString = data.getPattern(magnitude, plural);
@SuppressWarnings("unused") // see #13177
int numDigits = -1;
if (patternString == null) {
// Use the default (non-compact) modifier.