summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2004-04-22 11:24:39 +0000
committerDalibor Topic <robilad@yahoo.com>2004-04-22 11:24:39 +0000
commit4d953a89f3807014975c40a683a735f9d875eeff (patch)
tree0d2b3b81be524e49bbb74967e3780c25e94e2411 /java
parentdc81834bbbcc852e845e804110d12c6bac0193b6 (diff)
downloadclasspath-4d953a89f3807014975c40a683a735f9d875eeff.tar.gz
Cleaned up imports in java.util
2004-04-22 Dalibor Topic <robilad@kaffe.org> * java/util/ArrayList.java, java/util/Calendar.java, java/util/Currency.java, java/util/HashMap.java, java/util/HashSet.java, java/util/Hashtable.java, java/util/LinkedList.java, java/util/Properties.java, java/util/PropertyPermission.java, java/util/TimeZone.java, java/util/TreeMap.java, java/util/TreeSet.java, java/util/Vector.java, java/util/WeakHashMap.java: Cleaned up imports.
Diffstat (limited to 'java')
-rw-r--r--java/util/ArrayList.java6
-rw-r--r--java/util/Calendar.java4
-rw-r--r--java/util/Currency.java4
-rw-r--r--java/util/HashMap.java4
-rw-r--r--java/util/HashSet.java4
-rw-r--r--java/util/Hashtable.java4
-rw-r--r--java/util/LinkedList.java8
-rw-r--r--java/util/Properties.java8
-rw-r--r--java/util/PropertyPermission.java12
-rw-r--r--java/util/TimeZone.java5
-rw-r--r--java/util/TreeMap.java8
-rw-r--r--java/util/TreeSet.java4
-rw-r--r--java/util/Vector.java4
-rw-r--r--java/util/WeakHashMap.java4
14 files changed, 39 insertions, 40 deletions
diff --git a/java/util/ArrayList.java b/java/util/ArrayList.java
index c6f6b8699..a451f1e4c 100644
--- a/java/util/ArrayList.java
+++ b/java/util/ArrayList.java
@@ -1,6 +1,6 @@
/* ArrayList.java -- JDK1.2's answer to Vector; this is an array-backed
implementation of the List interface
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,11 +39,11 @@ exception statement from your version. */
package java.util;
-import java.lang.reflect.Array;
-import java.io.Serializable;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
+import java.io.Serializable;
+import java.lang.reflect.Array;
/**
* An array-backed implementation of the List interface. This implements
diff --git a/java/util/Calendar.java b/java/util/Calendar.java
index 48624beb6..2a1e1d8b7 100644
--- a/java/util/Calendar.java
+++ b/java/util/Calendar.java
@@ -1,5 +1,5 @@
/* java.util.Calendar
- Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,11 +38,11 @@ exception statement from your version. */
package java.util;
-import java.lang.reflect.InvocationTargetException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
+import java.lang.reflect.InvocationTargetException;
/**
* This class is an abstract base class for Calendars, which can be
diff --git a/java/util/Currency.java b/java/util/Currency.java
index a742831e4..fa9892737 100644
--- a/java/util/Currency.java
+++ b/java/util/Currency.java
@@ -1,5 +1,5 @@
/* Currency.java -- Representation of a currency
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -37,8 +37,6 @@ exception statement from your version. */
package java.util;
import java.io.Serializable;
-import java.util.ResourceBundle;
-import java.util.Locale;
import java.text.NumberFormat;
public final class Currency implements Serializable
diff --git a/java/util/HashMap.java b/java/util/HashMap.java
index fd6b658bc..dc1b11230 100644
--- a/java/util/HashMap.java
+++ b/java/util/HashMap.java
@@ -1,6 +1,6 @@
/* HashMap.java -- a class providing a basic hashtable data structure,
mapping Object --> Object
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -40,9 +40,9 @@ exception statement from your version. */
package java.util;
import java.io.IOException;
-import java.io.Serializable;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
+import java.io.Serializable;
// NOTE: This implementation is very similar to that of Hashtable. If you fix
// a bug in here, chances are you should make a similar change to the Hashtable
diff --git a/java/util/HashSet.java b/java/util/HashSet.java
index 006db1e86..caad3ad16 100644
--- a/java/util/HashSet.java
+++ b/java/util/HashSet.java
@@ -1,5 +1,5 @@
/* HashSet.java -- a class providing a HashMap-backed Set
- Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,9 +39,9 @@ exception statement from your version. */
package java.util;
import java.io.IOException;
-import java.io.Serializable;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
+import java.io.Serializable;
/**
* This class provides a HashMap-backed implementation of the Set interface.
diff --git a/java/util/Hashtable.java b/java/util/Hashtable.java
index 698871b51..3f5ae4c18 100644
--- a/java/util/Hashtable.java
+++ b/java/util/Hashtable.java
@@ -1,6 +1,6 @@
/* Hashtable.java -- a class providing a basic hashtable data structure,
mapping Object --> Object
- Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,9 +39,9 @@ exception statement from your version. */
package java.util;
import java.io.IOException;
-import java.io.Serializable;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
+import java.io.Serializable;
// NOTE: This implementation is very similar to that of HashMap. If you fix
// a bug in here, chances are you should make a similar change to the HashMap
diff --git a/java/util/LinkedList.java b/java/util/LinkedList.java
index c891f8230..4789a387a 100644
--- a/java/util/LinkedList.java
+++ b/java/util/LinkedList.java
@@ -1,5 +1,5 @@
/* LinkedList.java -- Linked list implementation of the List interface
- Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -37,10 +37,10 @@ exception statement from your version. */
package java.util;
-import java.io.Serializable;
-import java.io.ObjectOutputStream;
-import java.io.ObjectInputStream;
import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.io.Serializable;
import java.lang.reflect.Array;
/**
diff --git a/java/util/Properties.java b/java/util/Properties.java
index 921d55c21..eac90e490 100644
--- a/java/util/Properties.java
+++ b/java/util/Properties.java
@@ -1,5 +1,5 @@
/* Properties.java -- a set of persistent properties
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,14 +38,14 @@ exception statement from your version. */
package java.util;
+import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
-import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStream;
-import java.io.PrintWriter;
-import java.io.PrintStream;
import java.io.OutputStreamWriter;
+import java.io.PrintStream;
+import java.io.PrintWriter;
/**
* A set of persistent properties, which can be saved or loaded from a stream.
diff --git a/java/util/PropertyPermission.java b/java/util/PropertyPermission.java
index 0d439d888..ec2ca7aba 100644
--- a/java/util/PropertyPermission.java
+++ b/java/util/PropertyPermission.java
@@ -1,5 +1,5 @@
/* PropertyPermission.java -- permission to get and set System properties
- Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,13 +38,13 @@ exception statement from your version. */
package java.util;
-import java.security.Permission;
-import java.security.BasicPermission;
-import java.security.PermissionCollection;
-import java.io.ObjectStreamField;
+import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
-import java.io.IOException;
+import java.io.ObjectStreamField;
+import java.security.BasicPermission;
+import java.security.Permission;
+import java.security.PermissionCollection;
/**
* This class represents the permission to access and modify a property.<br>
diff --git a/java/util/TimeZone.java b/java/util/TimeZone.java
index 263695652..504d34e7f 100644
--- a/java/util/TimeZone.java
+++ b/java/util/TimeZone.java
@@ -1,5 +1,5 @@
/* java.util.TimeZone
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,9 +38,10 @@ exception statement from your version. */
package java.util;
-import java.text.DateFormatSymbols;
import gnu.classpath.Configuration;
+import java.text.DateFormatSymbols;
+
/**
* This class represents a time zone offset and handles daylight savings.
*
diff --git a/java/util/TreeMap.java b/java/util/TreeMap.java
index 9426a0bc7..d3b674815 100644
--- a/java/util/TreeMap.java
+++ b/java/util/TreeMap.java
@@ -1,6 +1,6 @@
/* TreeMap.java -- a class providing a basic Red-Black Tree data structure,
mapping Object --> Object
- Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,10 +39,10 @@ exception statement from your version. */
package java.util;
-import java.io.Serializable;
-import java.io.ObjectOutputStream;
-import java.io.ObjectInputStream;
import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.io.Serializable;
/**
* This class provides a red-black tree implementation of the SortedMap
diff --git a/java/util/TreeSet.java b/java/util/TreeSet.java
index bd625d158..f38357082 100644
--- a/java/util/TreeSet.java
+++ b/java/util/TreeSet.java
@@ -1,5 +1,5 @@
/* TreeSet.java -- a class providing a TreeMap-backed SortedSet
- Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,9 +39,9 @@ exception statement from your version. */
package java.util;
import java.io.IOException;
-import java.io.Serializable;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
+import java.io.Serializable;
/**
* This class provides a TreeMap-backed implementation of the SortedSet
diff --git a/java/util/Vector.java b/java/util/Vector.java
index 9cf8639fc..d72788e30 100644
--- a/java/util/Vector.java
+++ b/java/util/Vector.java
@@ -1,5 +1,5 @@
/* Vector.java -- Class that provides growable arrays.
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -37,8 +37,8 @@ exception statement from your version. */
package java.util;
-import java.lang.reflect.Array;
import java.io.Serializable;
+import java.lang.reflect.Array;
/**
* The <code>Vector</code> classes implements growable arrays of Objects.
diff --git a/java/util/WeakHashMap.java b/java/util/WeakHashMap.java
index 4cce821c5..e76e4bac9 100644
--- a/java/util/WeakHashMap.java
+++ b/java/util/WeakHashMap.java
@@ -1,6 +1,6 @@
/* WeakHashMap -- a hashtable that keeps only weak references
to its keys, allowing the virtual machine to reclaim them
- Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,8 +39,8 @@ exception statement from your version. */
package java.util;
-import java.lang.ref.WeakReference;
import java.lang.ref.ReferenceQueue;
+import java.lang.ref.WeakReference;
/**
* A weak hash map has only weak references to the key. This means that it