RFR: 8263979: Cleanup duplicate check in Unicode.contains

Aleksey Shipilev shade at openjdk.java.net
Mon Mar 22 15:49:53 UTC 2021


SonarCloud reports an easy problem in Unicode.contains:
 Correct one of the identical sub-expressions on both sides of operator "||"

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

Commit messages:
 - 8263979: Cleanup duplicate check in Unicode.contains

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

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


More information about the nio-dev mailing list