Re: [jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor [v2]

2022-06-28 Thread Roger Riggs
On Tue, 28 Jun 2022 20:17:21 GMT, Naoto Sato 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 corre

Re: [jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor [v2]

2022-06-28 Thread Naoto Sato
> 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. Naoto Sato has update

Re: [jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor [v2]

2022-06-28 Thread Naoto Sato
On Tue, 28 Jun 2022 19:45:30 GMT, Roger Riggs wrote: >> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> added `lang` attribute to the snippet > > src/java.base/share/classes/java/util/Locale.java line 2608: > >> 2606: *

Re: [jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor

2022-06-28 Thread Roger Riggs
On Tue, 28 Jun 2022 17:11:31 GMT, Naoto Sato 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 correspon

Re: [jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor

2022-06-28 Thread Joe Wang
On Tue, 28 Jun 2022 17:11:31 GMT, Naoto Sato 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 correspon

[jdk19] RFR: 8289252: Recommend Locale.of() method instead of the constructor

2022-06-28 Thread Naoto Sato
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. - Commit message