ICU-10219 Fixed a compiler warning in the previous change.

X-SVN-Rev: 34563
This commit is contained in:
Yoshito Umaoka 2013-10-14 19:17:54 +00:00
parent 83b441346b
commit a50e894eb8

View File

@ -266,7 +266,7 @@ public class TimeUnitFormat extends MeasureFormat {
// Since we now format the number ourselves, parseObject will likely give us back a String for
// the number. When this happens we must parse the formatted number ourselves.
try {
temp = format.parse((String) tempObj.toString());
temp = format.parse(tempObj.toString());
} catch (ParseException e) {
continue;
}