Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8262471: Fix coding style in src/java.base/share/classes/java/lang/Ch…
…aracterDataPrivateUse.java

Reviewed-by: alanb, rriggs
  • Loading branch information
mychris authored and Roger Riggs committed Mar 10, 2021
1 parent 4d21a45 commit c8c0234b78749e152b79c04406d8228484c6c832
Showing with 11 additions and 13 deletions.
  1. +11 −13 src/java.base/share/classes/java/lang/CharacterDataPrivateUse.java
@@ -35,17 +35,17 @@ int getProperties(int ch) {
}

int getType(int ch) {
return (ch & 0xFFFE) == 0xFFFE
? Character.UNASSIGNED
: Character.PRIVATE_USE;
return (ch & 0xFFFE) == 0xFFFE
? Character.UNASSIGNED
: Character.PRIVATE_USE;
}

boolean isJavaIdentifierStart(int ch) {
return false;
return false;
}

boolean isJavaIdentifierPart(int ch) {
return false;
return false;
}

boolean isUnicodeIdentifierStart(int ch) {
@@ -85,21 +85,21 @@ boolean isDigit(int ch) {
}

boolean isLowerCase(int ch) {
return false;
return false;
}

boolean isUpperCase(int ch) {
return false;
return false;
}

boolean isWhitespace(int ch) {
return false;
return false;
}

byte getDirectionality(int ch) {
return (ch & 0xFFFE) == 0xFFFE
? Character.DIRECTIONALITY_UNDEFINED
: Character.DIRECTIONALITY_LEFT_TO_RIGHT;
return (ch & 0xFFFE) == 0xFFFE
? Character.DIRECTIONALITY_UNDEFINED
: Character.DIRECTIONALITY_LEFT_TO_RIGHT;
}

boolean isMirrored(int ch) {
@@ -109,5 +109,3 @@ boolean isMirrored(int ch) {
static final CharacterData instance = new CharacterDataPrivateUse();
private CharacterDataPrivateUse() {};
}


0 comments on commit c8c0234

Please sign in to comment.