Skip to content

Commit

Permalink
8263979: Cleanup duplicate check in Unicode.contains
Browse files Browse the repository at this point in the history
Reviewed-by: prappo, alanb
  • Loading branch information
shipilev committed Mar 23, 2021
1 parent 289d48a commit 4ef7c67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/java.base/share/classes/sun/nio/cs/Unicode.java
Expand Up @@ -86,7 +86,6 @@ public boolean contains(Charset cs) {
|| (cs.name().equals("ISO-2022-KR"))
|| (cs.name().equals("x-ISO-2022-CN-CNS"))
|| (cs.name().equals("x-ISO-2022-CN-GB"))
|| (cs.name().equals("Big5-HKSCS"))
|| (cs.name().equals("x-Johab"))
|| (cs.name().equals("Shift_JIS")));
}
Expand Down

1 comment on commit 4ef7c67

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.