RFR: 8275767: JDK source code contains redundant boolean operations in jdk.charsets
Naoto Sato
naoto at openjdk.java.net
Mon Oct 25 17:19:11 UTC 2021
On Mon, 25 Oct 2021 16:08:29 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Trivial clean-up.
No, I did not check. I simply removed the `true &&` as it is logically correct. There's a test specifying `IBM964` in `sun.nio.cs.TestIBMBugs.java`, but not sure it tests both paths or not.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6110
More information about the core-libs-dev
mailing list