From 10ae498198435fb7bec857596317a6e7172ec658 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Tue, 14 Mar 2017 21:53:32 +0000 Subject: [PATCH] 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 --- .../classes/core/src/com/ibm/icu/impl/TZDBTimeZoneNames.java | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.40.0