<i18n dev> RFR: 8293008: Replace uses of StringBuffer with StringBuilder in MergeCollation [v2]

Roger Riggs rriggs at openjdk.org
Wed Aug 31 13:34:23 UTC 2022


On Wed, 31 Aug 2022 08:46:32 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Couple of package-private classes in `java.text` package still use `StringBuffer`: `MergeCollation` and `PatternEntry`.
>> StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8293008: Replace uses of StringBuffer with StringBuilder in MergeCollation
>   
>   use private for methods which changed signature

Marked as reviewed by rriggs (Reviewer).

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

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


More information about the i18n-dev mailing list