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 `jdk.hotspot.agent`
Similar cleanups in the past: https://bugs.openjdk.java.net/browse/JDK-8041679 
https://bugs.openjdk.java.net/browse/JDK-8264029

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

Commit messages:
 - [PATCH] Replace uses of StringBuffer with StringBuilder in jdk.hotspot.agent

Changes: https://git.openjdk.java.net/jdk/pull/3275/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3275&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264484
  Stats: 117 lines in 37 files changed: 0 ins; 5 del; 112 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3275.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3275/head:pull/3275

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

Reply via email to