[OpenJDK 2D-Dev] RFR: 8264428: Replace uses of StringBuffer with StringBuilder in java.desktop

Sergey Bylokhov serb at openjdk.java.net
Wed Mar 31 21:15:30 UTC 2021

On Tue, 30 Mar 2021 12:39:15 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Found by IntelliJ IDEA inspection `Java | Java language level migration aids | Java 5 | 'StringBuffer' may be 'StringBuilder'`
>> As suggested in https://github.com/openjdk/jdk/pull/1507#issuecomment-757369003 I've created separate PR for module `java.desktop`
>> Similar cleanups in the past: https://bugs.openjdk.java.net/browse/JDK-8041679 https://bugs.openjdk.java.net/browse/JDK-8264029
> Submitted: https://bugs.openjdk.java.net/browse/JDK-8264428, please rename PR to "8264428: Replace uses of StringBuffer with StringBuilder in java.desktop".

Looks like this change goes beyond of simple replacement of  StringBuffer with StringBuilder. Please update the description of the bug and PR description.


PR: https://git.openjdk.java.net/jdk/pull/3251

More information about the 2d-dev mailing list