]> granicus.if.org Git - icu/commitdiff
ICU-8856 Fixed a javac compiler warning.
authorYoshito Umaoka <y.umaoka@gmail.com>
Tue, 4 Oct 2011 15:45:25 +0000 (15:45 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Tue, 4 Oct 2011 15:45:25 +0000 (15:45 +0000)
X-SVN-Rev: 30790

icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneFormat.java

index dca6fa8522b8d36abd017759b51d2a3b22503138..bdfca2799942b897531e18243ec8f6a133e57e54 100644 (file)
@@ -2109,7 +2109,7 @@ public class TimeZoneFormat extends UFormat implements Freezable<TimeZoneFormat>
             throw new InvalidObjectException("Missing field: gmtZeroFormat");
         }
 
-        _parseAllStyles = (boolean)fields.get("_parseAllStyles", false);
+        _parseAllStyles = fields.get("_parseAllStyles", false);
         if (fields.defaulted("_parseAllStyles")) {
             throw new InvalidObjectException("Missing field: parseAllStyles");
         }