aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util')
-rw-r--r--libjava/java/util/Hashtable.java6
-rw-r--r--libjava/java/util/Vector.java4
-rw-r--r--libjava/java/util/zip/ZipFile.java4
3 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/util/Hashtable.java b/libjava/java/util/Hashtable.java
index 5d52844..62866b0 100644
--- a/libjava/java/util/Hashtable.java
+++ b/libjava/java/util/Hashtable.java
@@ -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
diff --git a/libjava/java/util/Vector.java b/libjava/java/util/Vector.java
index d980680..b49f482 100644
--- a/libjava/java/util/Vector.java
+++ b/libjava/java/util/Vector.java
@@ -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;
diff --git a/libjava/java/util/zip/ZipFile.java b/libjava/java/util/zip/ZipFile.java
index f6e576a..5e01d57 100644
--- a/libjava/java/util/zip/ZipFile.java
+++ b/libjava/java/util/zip/ZipFile.java
@@ -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;