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
d76cbbc8
Commit
d76cbbc8
authored
Jul 30, 2001
by
Tom Tromey
Committed by
Tom Tromey
Jul 30, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/lang/Integer.java: Merged with Classpath.
From-SVN: r44478
parent
8597f3dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
libjava/ChangeLog
+4
-0
libjava/java/lang/Integer.java
+2
-4
No files found.
libjava/ChangeLog
View file @
d76cbbc8
2001-07-30 Tom Tromey <tromey@redhat.com>
* java/lang/Integer.java: Merged with Classpath.
2001-07-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2001-07-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/util/GregorianCalendar.java (GregorianCalendar): Call
* java/util/GregorianCalendar.java (GregorianCalendar): Call
...
...
libjava/java/lang/Integer.java
View file @
d76cbbc8
...
@@ -267,10 +267,8 @@ public final class Integer extends Number implements Comparable
...
@@ -267,10 +267,8 @@ public final class Integer extends Number implements Comparable
*/
*/
public
static
String
toString
(
int
num
,
int
radix
)
public
static
String
toString
(
int
num
,
int
radix
)
{
{
// Use optimized method for the typical case.
if
(
radix
<
Character
.
MIN_RADIX
||
radix
>
Character
.
MAX_RADIX
)
if
(
radix
==
10
||
radix
=
10
;
radix
<
Character
.
MIN_RADIX
||
radix
>
Character
.
MAX_RADIX
)
return
toString
(
num
);
// For negative numbers, print out the absolute value w/ a leading '-'.
// For negative numbers, print out the absolute value w/ a leading '-'.
// Use an array large enough for a binary number.
// Use an array large enough for a binary number.
...
...
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