[jdk19] Integrated: 8289252: Recommend Locale.of() method instead of the constructor
Naoto Sato
naoto at openjdk.org
Wed Jun 29 15:51:48 UTC 2022
On Tue, 28 Jun 2022 17:11:31 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> This is a leftover documentation fix to the deprecation of `Locale` constructors. `Locale.Builder` class had some texts that suggested using one of those constructors, which need to be replaced with a `Locale.of()` method. A corresponding CSR has also been drafted.
This pull request has now been integrated.
Changeset: cf715449
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk19/commit/cf7154498fffba202b74b41a074f25c657b2e591
Stats: 14 lines in 1 file changed: 4 ins; 2 del; 8 mod
8289252: Recommend Locale.of() method instead of the constructor
Reviewed-by: joehw, rriggs
-------------
PR: https://git.openjdk.org/jdk19/pull/85
More information about the core-libs-dev
mailing list