Add TODO comment.

This commit is contained in:
Gary Gregory 2021-11-07 07:51:35 -05:00
parent b153aca877
commit 858d536873
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ public class LocaleUtils {
*/
public static Locale toLocale(final String str) {
if (str == null) {
// TODO Should this return the default locale?
return null;
}
if (str.isEmpty()) { // LANG-941 - JDK 8 introduced an empty locale where all fields are blank