ICU-13159 Suppress unused warnings.

X-SVN-Rev: 40209
This commit is contained in:
Yoshito Umaoka 2017-06-26 04:10:32 +00:00
parent 3debf85752
commit 363bb5523c

View File

@ -2360,6 +2360,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
return appendTo(new StringBuilder(), false, skipDayPeriod).toString();
}
@SuppressWarnings("unused")
public String toCanonicalString() {
return appendTo(new StringBuilder(), true, false).toString();
}
@ -2368,6 +2369,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
return appendTo(new StringBuilder(), true, skipDayPeriod).toString();
}
@SuppressWarnings("unused")
public StringBuilder appendTo(StringBuilder sb) {
return appendTo(sb, false, false);
}