Add TODO comment.
This commit is contained in:
parent
b153aca877
commit
858d536873
|
@ -311,6 +311,7 @@ public class LocaleUtils {
|
||||||
*/
|
*/
|
||||||
public static Locale toLocale(final String str) {
|
public static Locale toLocale(final String str) {
|
||||||
if (str == null) {
|
if (str == null) {
|
||||||
|
// TODO Should this return the default locale?
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (str.isEmpty()) { // LANG-941 - JDK 8 introduced an empty locale where all fields are blank
|
if (str.isEmpty()) { // LANG-941 - JDK 8 introduced an empty locale where all fields are blank
|
||||||
|
|
Loading…
Reference in New Issue