RFR: 8264484: Replace uses of StringBuffer with StringBuilder in jdk.hotspot.agent [v3]

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Wed Mar 31 17:45:33 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 `jdk.hotspot.agent`
> 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:

  8264484: Replace uses of StringBuffer with StringBuilder in jdk.hotspot.agent
  
  fix indentation

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3275/files
  - new: https://git.openjdk.java.net/jdk/pull/3275/files/75e4f6b0..32274cbc

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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



More information about the hotspot-gc-dev mailing list