Commit c23c855f by Tom Tromey Committed by Tom Tromey

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
parent 520babc7
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.
......
// 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; ...@@ -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;
......
/* 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; ...@@ -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 ...@@ -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
......
/* 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; ...@@ -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;
......
// 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 ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment