#* Copyright (C) 2010-2013, International Business Machines Corporation and *
#* others. All Rights Reserved. *
#*******************************************************************************
-icu4j.plugin.impl.version.string=52.0.1
+icu4j.plugin.impl.version.string=52.1.0
copyright.eclipse=Licensed Materials - Property of IBM \n (C) Copyright IBM Corp. 2000, 2013. All Rights Reserved. \n IBM is a registered trademark of IBM Corp.
icu4j.data.version.number=52
case ISO_EXTENDED_LOCAL_FULL:
result = formatOffsetISO8601Extended(offset, false, false, false);
break;
+
+ default:
+ // Other cases are handled earlier and never comes into this
+ // switch statement.
+ assert false;
+ break;
}
// time type
if (timeType != null) {
case GENERIC_SHORT:
genericNameTypes = EnumSet.of(GenericNameType.SHORT, GenericNameType.LOCATION);
break;
+ default:
+ // style cannot be other than above cases
+ assert false;
+ break;
}
GenericMatchInfo bestGeneric = getTimeZoneGenericNames().findBestMatch(text, startIdx, genericNameTypes);
if (bestGeneric != null && (startIdx + bestGeneric.matchLength() > parsedPos)) {
case LONG_DAYLIGHT:
case SHORT_DAYLIGHT:
return TimeType.DAYLIGHT;
+
+ default:
+ return TimeType.UNKNOWN;
}
- return TimeType.UNKNOWN;
}
/**