> Code cleanup in java.lang.StringLatin1 and StringUTF16. > Remove the `public` qualifier from methods where it is not needed. > Remove an unused toBytes method. > Remove unused codePointXXX methods. > Remove unnecessary casts of primitive types. > > Some of these are suggested by IntelliJ, if the advice should not be taken, > I'll revert and update the IDE settings.
Roger Riggs has updated the pull request incrementally with one additional commit since the last revision: Remove a unnecessary `public` access in StringUTF16.java ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27609/files - new: https://git.openjdk.org/jdk/pull/27609/files/06822b94..13b00f15 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27609&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27609&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/27609.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27609/head:pull/27609 PR: https://git.openjdk.org/jdk/pull/27609
