Skip to content

Commit c8c0234

Browse files
mychrisRoger Riggs
authored and
Roger Riggs
committedMar 10, 2021
8262471: Fix coding style in src/java.base/share/classes/java/lang/CharacterDataPrivateUse.java
Reviewed-by: alanb, rriggs
1 parent 4d21a45 commit c8c0234

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed
 

‎src/java.base/share/classes/java/lang/CharacterDataPrivateUse.java

+11-13
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ int getProperties(int ch) {
3535
}
3636

3737
int getType(int ch) {
38-
return (ch & 0xFFFE) == 0xFFFE
39-
? Character.UNASSIGNED
40-
: Character.PRIVATE_USE;
38+
return (ch & 0xFFFE) == 0xFFFE
39+
? Character.UNASSIGNED
40+
: Character.PRIVATE_USE;
4141
}
4242

4343
boolean isJavaIdentifierStart(int ch) {
44-
return false;
44+
return false;
4545
}
4646

4747
boolean isJavaIdentifierPart(int ch) {
48-
return false;
48+
return false;
4949
}
5050

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

8787
boolean isLowerCase(int ch) {
88-
return false;
88+
return false;
8989
}
9090

9191
boolean isUpperCase(int ch) {
92-
return false;
92+
return false;
9393
}
9494

9595
boolean isWhitespace(int ch) {
96-
return false;
96+
return false;
9797
}
9898

9999
byte getDirectionality(int ch) {
100-
return (ch & 0xFFFE) == 0xFFFE
101-
? Character.DIRECTIONALITY_UNDEFINED
102-
: Character.DIRECTIONALITY_LEFT_TO_RIGHT;
100+
return (ch & 0xFFFE) == 0xFFFE
101+
? Character.DIRECTIONALITY_UNDEFINED
102+
: Character.DIRECTIONALITY_LEFT_TO_RIGHT;
103103
}
104104

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

0 commit comments

Comments
 (0)
Please sign in to comment.