From a50e894eb8a19e784b525e23690b1a40cdf743f7 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Mon, 14 Oct 2013 19:17:54 +0000 Subject: [PATCH] ICU-10219 Fixed a compiler warning in the previous change. X-SVN-Rev: 34563 --- .../main/classes/core/src/com/ibm/icu/text/TimeUnitFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/TimeUnitFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/TimeUnitFormat.java index cffd54ca516..8cf2e5d1cab 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/TimeUnitFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/TimeUnitFormat.java @@ -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; } -- 2.40.0