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:
parent
5a001837b4
commit
f27c439c8d
|
@ -150,6 +150,7 @@ public static Locale toLocale(final String str) {
|
||||||
return new Locale(split[0], split[1], split[2]);
|
return new Locale(split[0], split[1], split[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//$FALL-THROUGH$
|
||||||
default:
|
default:
|
||||||
throw new IllegalArgumentException("Invalid locale format: " + str);
|
throw new IllegalArgumentException("Invalid locale format: " + str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue