mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-13002 Resolve ErrorProne warnings with MissingCasesInEnumSwitch
X-SVN-Rev: 39907
This commit is contained in:
parent
8884844cab
commit
e5ea539acf
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue