RFR: 8263552: Use String.valueOf() for char-to-String conversion in ObjectStreamClass

Сергей Цыпанов github.com+10835776+stsypanov at openjdk.java.net
Sat Mar 13 14:27:17 UTC 2021


This is a very simple and trivial improvement about getting rid of pointless char wrapping into array

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

Commit messages:
 - Fix other occurences
 - Use String.valueOf() for char-to-String conversion in ObjectStreamClass

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

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


More information about the core-libs-dev mailing list