<Swing Dev> RFR: 8264428: Replace uses of StringBuffer with StringBuilder in java.desktop [v2]

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Tue Mar 30 19:05:37 UTC 2021


> 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

Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:

  [PATCH] Replace uses of StringBuffer with StringBuilder in java.desktop

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3251/files
  - new: https://git.openjdk.java.net/jdk/pull/3251/files/9bd4e523..80bff1db

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3251&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3251&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3251.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3251/head:pull/3251

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


More information about the swing-dev mailing list