<i18n dev> Integrated: 8312411: MessageFormat.formatToCharacterIterator() can be improved

Justin Lu jlu at openjdk.org
Fri Jul 28 17:37:01 UTC 2023


On Wed, 26 Jul 2023 07:39:09 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this change which makes `MessageFormat.formatToCharacterIterator` fail fast(er). The return statement is also modified to call  toArray() as `toArray(new T[0])` over `toArray(new T[size])`.

This pull request has now been integrated.

Changeset: 23755f90
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/23755f90c9fb69b0ddad0cdfcdf8add309b1d845
Stats:     7 lines in 1 file changed: 1 ins; 5 del; 1 mod

8312411: MessageFormat.formatToCharacterIterator() can be improved

Reviewed-by: naoto

-------------

PR: https://git.openjdk.org/jdk/pull/15035


More information about the i18n-dev mailing list