Skip to content

Commit

Permalink
Fix deprecated Locale construction
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed Jun 4, 2024
1 parent aabbf08 commit 1d8ca73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public final class TranslationManager {
public static final Locale DEFAULT_LOCALE = Locale.ENGLISH;
public static final List<Locale> BUNDLED_LOCALES = List.of(new Locale("fi", "FI"));
public static final List<Locale> BUNDLED_LOCALES = List.of(Locale.of("fi", "FI"));

private final Logger logger;
private final TranslationRegistry registry;
Expand Down

0 comments on commit 1d8ca73

Please sign in to comment.