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
a6845c56
Commit
a6845c56
authored
Feb 15, 2001
by
Bryce McKinlay
Committed by
Bryce McKinlay
Feb 15, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/util/HashSet.java (clone): Remove try/catch.
From-SVN: r39707
parent
2e22d9b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
libjava/ChangeLog
+2
-0
libjava/java/util/HashSet.java
+3
-10
No files found.
libjava/ChangeLog
View file @
a6845c56
...
...
@@ -9,6 +9,8 @@
* gnu/awt/j2d/IntegerGraphicsState.java (setClip): Call
Rectangle.clone(), not Object.clone().
* java/util/HashSet.java (clone): Remove try/catch.
2001-02-14 Bryce McKinlay <bryce@albatross.co.nz>
* java/util/TreeMap.java: New file.
...
...
libjava/java/util/HashSet.java
View file @
a6845c56
...
...
@@ -45,8 +45,8 @@ import java.io.ObjectOutputStream;
* HashSet is a part of the JDK1.2 Collections API.
*
* @author Jon Zeppieri
* @version $Revision: 1.
1
$
* @modified $Id: HashSet.java,v 1.
1 2000/12/11 03:47:47
bryce Exp $
* @version $Revision: 1.
2
$
* @modified $Id: HashSet.java,v 1.
2 2001/02/14 04:44:21
bryce Exp $
*/
public
class
HashSet
extends
AbstractSet
implements
Set
,
Cloneable
,
Serializable
...
...
@@ -129,14 +129,7 @@ public class HashSet extends AbstractSet
public
Object
clone
()
{
HashSet
copy
=
new
HashSet
();
try
{
copy
.
map
=
(
HashMap
)
map
.
clone
();
}
catch
(
CloneNotSupportedException
ex
)
{
}
copy
.
map
=
(
HashMap
)
map
.
clone
();
return
copy
;
}
...
...
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