RFR: 8293008: Replace uses of StringBuffer with StringBuilder in MergeCollation [v2]

Jaikiran Pai jpai at openjdk.org
Thu Sep 1 06:32:04 UTC 2022


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

>> src/java.base/share/classes/java/text/PatternEntry.java line 55:
>> 
>>> 53:      * Gets the current extension, quoted
>>> 54:      */
>>> 55:     public void appendQuotedExtension(StringBuilder toAddTo) {
>> 
>> Hello Andrey, this and the other `public` method that's changed in this (package private) class don't seem to be used anywhere else other than this class itself. So maybe you could change them to `private` as part of this change?
>
> Changed a few of methods to `private`

Thank you Andrey for doing those changes.

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

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


More information about the core-libs-dev mailing list