Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a50aa799
Commit
a50aa799
authored
Dec 03, 2002
by
Tom Tromey
Committed by
Tom Tromey
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/lang/Character.java (forDigit): Formatting fix.
From-SVN: r59781
parent
2cff4a6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
libjava/ChangeLog
+4
-0
libjava/java/lang/Character.java
+2
-2
No files found.
libjava/ChangeLog
View file @
a50aa799
2002
-
12
-
03
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
java
/
lang
/
Character
.
java
(
forDigit
):
Formatting
fix
.
2002
-
12
-
03
Raif
Naffah
<
raif
@
fl
.
net
.
au
>
*
java
/
security
/
spec
/
DSAParameterSpec
.
java
(
getP
):
Return
p
,
not
q
.
...
...
libjava/java/lang/Character.java
View file @
a50aa799
...
...
@@ -2079,8 +2079,8 @@ public final class Character implements Serializable, Comparable
*/
public
static
char
forDigit
(
int
digit
,
int
radix
)
{
if
(
radix
<
MIN_RADIX
||
radix
>
MAX_RADIX
||
digit
<
0
||
digit
>=
radix
)
if
(
radix
<
MIN_RADIX
||
radix
>
MAX_RADIX
||
digit
<
0
||
digit
>=
radix
)
return
'\0'
;
return
(
char
)
(
digit
<
10
?
(
'0'
+
digit
)
:
(
'a'
-
10
+
digit
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment