mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
This commit is contained in:
parent
61698bd137
commit
d6b4693c05
182 changed files with 747 additions and 747 deletions
|
@ -2438,7 +2438,7 @@ public abstract class ResourceBundle {
|
|||
* import static java.util.ResourceBundle.Control.*;
|
||||
* ...
|
||||
* ResourceBundle bundle =
|
||||
* ResourceBundle.getBundle("MyResources", new Locale("fr", "CH"),
|
||||
* ResourceBundle.getBundle("MyResources", Locale.forLanguageTag("fr-CH"),
|
||||
* ResourceBundle.Control.getControl(FORMAT_PROPERTIES));
|
||||
* </pre>
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue