We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0663d42 commit 58580d8Copy full SHA for 58580d8
src/main/java/de/redstoneworld/redutilities/misc/LocaleHelper.java
@@ -20,7 +20,7 @@ public class LocaleHelper {
20
* @param localeStr the locale string to parse
21
* @return the corresponding Locale object
22
*/
23
- public static Locale toLocale(String localeStr) {
+ public static Locale getLocale(String localeStr) {
24
if (localeStr == null || localeStr.trim().isEmpty()) {
25
return Locale.getDefault();
26
}
0 commit comments