Integrated: 8293008: Replace uses of StringBuffer with StringBuilder in MergeCollation
Andrey Turbanov
aturbanov at openjdk.org
Wed Aug 31 14:00:34 UTC 2022
On Wed, 24 Aug 2022 19:31:23 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.
This pull request has now been integrated.
Changeset: 0d51f63a
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0d51f63a2e95976636f8ec74a69096791304724e
Stats: 9 lines in 2 files changed: 0 ins; 0 del; 9 mod
8293008: Replace uses of StringBuffer with StringBuilder in MergeCollation
Reviewed-by: rriggs, naoto, bpb
-------------
PR: https://git.openjdk.org/jdk/pull/10007
More information about the core-libs-dev
mailing list