Vector.java (VectorEnumeration): Now `final'.
* java/util/Vector.java (VectorEnumeration): Now `final'. * java/util/Hashtable.java (HashtableEntry): Now `final'. (HashtableEnumeration): Likewise. * java/util/zip/ZipFile.java (ZipEnumeration): Now `final'. * java/text/RuleBasedCollator.java (RBCElement): Now `final'. From-SVN: r33083
This commit is contained in:
parent
520babc783
commit
c23c855f38
5 changed files with 17 additions and 9 deletions
|
@ -1,3 +1,11 @@
|
|||
2000-04-11 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/util/Vector.java (VectorEnumeration): Now `final'.
|
||||
* java/util/Hashtable.java (HashtableEntry): Now `final'.
|
||||
(HashtableEnumeration): Likewise.
|
||||
* java/util/zip/ZipFile.java (ZipEnumeration): Now `final'.
|
||||
* java/text/RuleBasedCollator.java (RBCElement): Now `final'.
|
||||
|
||||
2000-04-10 Warren Levy <warrenl@cygnus.com>
|
||||
|
||||
* java/io/ObjectStreamException.java: New file.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RuleBasedCollator.java - Concrete class for locale-based string compare.
|
||||
|
||||
/* Copyright (C) 1999 Free Software Foundation
|
||||
/* Copyright (C) 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -23,7 +23,7 @@ import java.util.Vector;
|
|||
* Status: Believed complete and correct
|
||||
*/
|
||||
|
||||
class RBCElement
|
||||
final class RBCElement
|
||||
{
|
||||
String key;
|
||||
char relation;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1998, 1999 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -20,7 +20,7 @@ import java.io.Serializable;
|
|||
* Status: Believed complete and correct
|
||||
*/
|
||||
|
||||
class HashtableEntry
|
||||
final class HashtableEntry
|
||||
{
|
||||
public Object key;
|
||||
public Object value;
|
||||
|
@ -33,7 +33,7 @@ class HashtableEntry
|
|||
}
|
||||
}
|
||||
|
||||
class HashtableEnumeration implements Enumeration
|
||||
final class HashtableEnumeration implements Enumeration
|
||||
{
|
||||
// TBD: Enumeration is not safe if new elements are put in the table as
|
||||
// this could cause a rehash and we'd completely lose our place. Even
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1998, 1999 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -20,7 +20,7 @@ import java.io.Serializable;
|
|||
* Status: Believed complete and correct
|
||||
*/
|
||||
|
||||
class VectorEnumeration implements Enumeration
|
||||
final class VectorEnumeration implements Enumeration
|
||||
{
|
||||
private int enumIndex;
|
||||
private Vector enumVec;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// ZipFile.java - Read contents of a ZIP file.
|
||||
|
||||
/* Copyright (C) 1999 Free Software Foundation
|
||||
/* Copyright (C) 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -166,7 +166,7 @@ public class ZipFile implements ZipConstants
|
|||
String name;
|
||||
}
|
||||
|
||||
class ZipEnumeration implements java.util.Enumeration
|
||||
final class ZipEnumeration implements java.util.Enumeration
|
||||
{
|
||||
ZipEntry entry;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue