From: Yoshito Umaoka Date: Tue, 14 Mar 2017 21:53:32 +0000 (+0000) Subject: ICU-12722 Added default case in a switch statement to resolve an ErrorProne and other... X-Git-Tag: release-59-rc~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10ae498198435fb7bec857596317a6e7172ec658;p=icu ICU-12722 Added default case in a switch statement to resolve an ErrorProne and other static code analysis tool's warning. X-SVN-Rev: 39804 --- diff --git a/icu4j/main/classes/core/src/com/ibm/icu/impl/TZDBTimeZoneNames.java b/icu4j/main/classes/core/src/com/ibm/icu/impl/TZDBTimeZoneNames.java index 9676af357d9..71289482eec 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/impl/TZDBTimeZoneNames.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/impl/TZDBTimeZoneNames.java @@ -203,6 +203,10 @@ public class TZDBTimeZoneNames extends TimeZoneNames { case SHORT_DAYLIGHT: name = _names[1]; break; + default: + // No names for all other types handled by + // this class. + break; } return name;