RFR: 8290300: Use standard String-joining tools where applicable [v4]
Naoto Sato
naoto at openjdk.org
Mon Jul 18 16:49:45 UTC 2022
On Mon, 18 Jul 2022 11:08:24 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:
> For `Locale` all the call sites of `formatList()` never pass null, so the code in `if` block is never executed. I think we can delete this unused parts of the code in `Locale`,
Are you sure about this? `pattern` is derived from `LocaleResources.getLocaleName()` which could return `null`.
-------------
PR: https://git.openjdk.org/jdk/pull/9513
More information about the net-dev
mailing list