On Thu, 2 Oct 2025 15:39:51 GMT, Roger Riggs <[email protected]> wrote:
> 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. src/java.base/share/classes/java/lang/StringLatin1.java line 367: > 365: } > 366: > 367: // case in-sensitive I think we use insensitive without a dash: https://www.dictionary.com/browse/insensitive ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27609#discussion_r2399313326
