ICU-13002 Resolve ErrorProne warnings with MissingCasesInEnumSwitch

X-SVN-Rev: 39907
This commit is contained in:
Craig Cornelius 2017-03-22 23:13:23 +00:00
parent 8884844cab
commit e5ea539acf

View file

@ -106,6 +106,8 @@ public class LocaleValidityChecker {
case u:
if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false;
break;
default:
break;
}
} catch (Exception e) {
return where.set(Datatype.illegal, c+"");
@ -201,6 +203,8 @@ public class LocaleValidityChecker {
seen.clear();
}
break;
default:
break;
}
switch (specialCase) {
case anything:
@ -233,6 +237,8 @@ public class LocaleValidityChecker {
return false;
}
continue;
default:
break;
}
// en-u-sd-usca