Skip to content
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 1 changed file with 11 additions and 13 deletions.
@@ -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() {};
}


1 comment on commit c8c0234

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on c8c0234 Mar 10, 2021

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.