Fall through is intentional

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565235 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2014-02-06 13:31:43 +00:00
parent 5a001837b4
commit f27c439c8d
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ public static Locale toLocale(final String str) {
return new Locale(split[0], split[1], split[2]);
}
//$FALL-THROUGH$
default:
throw new IllegalArgumentException("Invalid locale format: " + str);
}