On Mon, 26 Sep 2022 18:25:34 GMT, Justin Lu <[email protected]> wrote:
> Problem: Unnecessary instances of StringBuffer + .toString() > > Fix: StringBuffer Replaced with StringBuilder, and .toString() removed when > possible > > Other: Line 698 in RuleBasedCollator.java also uses a .toString() conversion, > but removing that instance requires changing the RuleBasedCollationKey > constructor's second parameter type from String to StringBuilder > > automated testing run passed cleanly This pull request has now been integrated. Changeset: 43eff2b3 Author: Justin Lu <[email protected]> Committer: Brent Christian <[email protected]> URL: https://git.openjdk.org/jdk/commit/43eff2b309e2ef275bdd5adf196da81d4e23f535 Stats: 10 lines in 2 files changed: 0 ins; 0 del; 10 mod 8272687: Replace StringBuffer with StringBuilder in RuleBasedCollator Reviewed-by: lancea, naoto, bchristi, bpb ------------- PR: https://git.openjdk.org/jdk/pull/10432
