Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK-8262471: Fix coding style in src/java.base/share/classes/java/lang/CharacterDataPrivateUse.java #2754

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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() {};
}