We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff2fa83 commit 310266bCopy full SHA for 310266b
1 file changed
ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/util/LocaleUtil.java
@@ -1,5 +1,5 @@
1
/*******************************************************************************
2
- * Copyright (c) 2008 IBM Corporation and others.
+ * Copyright (c) 2008, 2025 IBM Corporation and others.
3
*
4
* This program and the accompanying materials
5
* are made available under the terms of the Eclipse Public License 2.0
@@ -51,7 +51,7 @@ public static String expandLocaleName(String name) {
51
variant = tokenizer.nextToken();
52
}
53
54
- Locale locale = new Locale(language, country, variant);
+ Locale locale = Locale.of(language, country, variant);
55
return locale.toString() + " - " + locale.getDisplayName(); //$NON-NLS-1$
56
57
0 commit comments