mirror of git://gcc.gnu.org/git/gcc.git
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
|
|
@ -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>
|
2000-04-10 Warren Levy <warrenl@cygnus.com>
|
||||||
|
|
||||||
* java/io/ObjectStreamException.java: New file.
|
* java/io/ObjectStreamException.java: New file.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// RuleBasedCollator.java - Concrete class for locale-based string compare.
|
// 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.
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@ import java.util.Vector;
|
||||||
* Status: Believed complete and correct
|
* Status: Believed complete and correct
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class RBCElement
|
final class RBCElement
|
||||||
{
|
{
|
||||||
String key;
|
String key;
|
||||||
char relation;
|
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.
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ import java.io.Serializable;
|
||||||
* Status: Believed complete and correct
|
* Status: Believed complete and correct
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class HashtableEntry
|
final class HashtableEntry
|
||||||
{
|
{
|
||||||
public Object key;
|
public Object key;
|
||||||
public Object value;
|
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
|
// 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
|
// 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.
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ import java.io.Serializable;
|
||||||
* Status: Believed complete and correct
|
* Status: Believed complete and correct
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class VectorEnumeration implements Enumeration
|
final class VectorEnumeration implements Enumeration
|
||||||
{
|
{
|
||||||
private int enumIndex;
|
private int enumIndex;
|
||||||
private Vector enumVec;
|
private Vector enumVec;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// ZipFile.java - Read contents of a ZIP file.
|
// 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.
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
|
@ -166,7 +166,7 @@ public class ZipFile implements ZipConstants
|
||||||
String name;
|
String name;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ZipEnumeration implements java.util.Enumeration
|
final class ZipEnumeration implements java.util.Enumeration
|
||||||
{
|
{
|
||||||
ZipEntry entry;
|
ZipEntry entry;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue