Skip to content

Commit 58580d8

Browse files
Renaming method
1 parent 0663d42 commit 58580d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/redstoneworld/redutilities/misc/LocaleHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class LocaleHelper {
2020
* @param localeStr the locale string to parse
2121
* @return the corresponding Locale object
2222
*/
23-
public static Locale toLocale(String localeStr) {
23+
public static Locale getLocale(String localeStr) {
2424
if (localeStr == null || localeStr.trim().isEmpty()) {
2525
return Locale.getDefault();
2626
}

0 commit comments

Comments
 (0)