Commit ace7ed7c by Dalibor Topic Committed by Michael Koch

[multiple changes]

2004-04-23 Dalibor Topic <robilad@kaffe.org>

	* java/util/jar/JarFile.java,
	java/util/jar/JarInputStream.java,
	java/util/jar/JarOutputStream.java,
	java/util/jar/Manifest.java:
	Cleaned up imports.

2004-04-23 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.

2004-04-23  Dalibor Topic  <robilad@kaffe.org>

	* java/util/logging/FileHandler.java,
	java/util/logging/Formatter.java,
	java/util/logging/Handler.java,
	java/util/logging/Logger.java,
	java/util/logging/SimpleFormatter.java,
	java/util/logging/XMLFormatter.java:
	Cleaned up imports.

From-SVN: r81077
parent 78bad775
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java,
java/util/jar/Manifest.java:
Cleaned up imports.
2004-04-23 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.
2004-04-23 Dalibor Topic <robilad@kaffe.org>
* java/util/logging/FileHandler.java,
java/util/logging/Formatter.java,
java/util/logging/Handler.java,
java/util/logging/Logger.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/XMLFormatter.java:
Cleaned up imports.
2004-04-22 Mark Wielaard <mark@klomp.org> 2004-04-22 Mark Wielaard <mark@klomp.org>
* Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
......
/* ArrayList.java -- JDK1.2's answer to Vector; this is an array-backed /* ArrayList.java -- JDK1.2's answer to Vector; this is an array-backed
implementation of the List interface 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. This file is part of GNU Classpath.
...@@ -39,11 +39,11 @@ exception statement from your version. */ ...@@ -39,11 +39,11 @@ exception statement from your version. */
package java.util; package java.util;
import java.lang.reflect.Array;
import java.io.Serializable;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.lang.reflect.Array;
/** /**
* An array-backed implementation of the List interface. This implements * An array-backed implementation of the List interface. This implements
......
/* java.util.Calendar /* 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. This file is part of GNU Classpath.
...@@ -38,11 +38,11 @@ exception statement from your version. */ ...@@ -38,11 +38,11 @@ exception statement from your version. */
package java.util; package java.util;
import java.lang.reflect.InvocationTargetException;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
/** /**
* This class is an abstract base class for Calendars, which can be * This class is an abstract base class for Calendars, which can be
......
/* Currency.java -- Representation of a currency /* 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. This file is part of GNU Classpath.
...@@ -37,8 +37,6 @@ exception statement from your version. */ ...@@ -37,8 +37,6 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.Serializable; import java.io.Serializable;
import java.util.ResourceBundle;
import java.util.Locale;
import java.text.NumberFormat; import java.text.NumberFormat;
public final class Currency implements Serializable public final class Currency implements Serializable
......
/* HashMap.java -- a class providing a basic hashtable data structure, /* HashMap.java -- a class providing a basic hashtable data structure,
mapping Object --> Object 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. This file is part of GNU Classpath.
...@@ -40,9 +40,9 @@ exception statement from your version. */ ...@@ -40,9 +40,9 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.IOException; import java.io.IOException;
import java.io.Serializable;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.Serializable;
// NOTE: This implementation is very similar to that of Hashtable. If you fix // 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 // a bug in here, chances are you should make a similar change to the Hashtable
......
/* HashSet.java -- a class providing a HashMap-backed Set /* 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. This file is part of GNU Classpath.
...@@ -39,9 +39,9 @@ exception statement from your version. */ ...@@ -39,9 +39,9 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.IOException; import java.io.IOException;
import java.io.Serializable;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.Serializable;
/** /**
* This class provides a HashMap-backed implementation of the Set interface. * This class provides a HashMap-backed implementation of the Set interface.
......
/* Hashtable.java -- a class providing a basic hashtable data structure, /* Hashtable.java -- a class providing a basic hashtable data structure,
mapping Object --> Object 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. This file is part of GNU Classpath.
...@@ -39,9 +39,9 @@ exception statement from your version. */ ...@@ -39,9 +39,9 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.IOException; import java.io.IOException;
import java.io.Serializable;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.Serializable;
// NOTE: This implementation is very similar to that of HashMap. If you fix // 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 // a bug in here, chances are you should make a similar change to the HashMap
......
/* LinkedList.java -- Linked list implementation of the List interface /* 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. This file is part of GNU Classpath.
...@@ -37,10 +37,10 @@ exception statement from your version. */ ...@@ -37,10 +37,10 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.Serializable;
import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.lang.reflect.Array; import java.lang.reflect.Array;
/** /**
......
/* Properties.java -- a set of persistent properties /* 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. This file is part of GNU Classpath.
...@@ -38,14 +38,14 @@ exception statement from your version. */ ...@@ -38,14 +38,14 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.BufferedReader;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.PrintStream;
import java.io.OutputStreamWriter; 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. * A set of persistent properties, which can be saved or loaded from a stream.
......
/* PropertyPermission.java -- permission to get and set System properties /* 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. This file is part of GNU Classpath.
...@@ -38,13 +38,13 @@ exception statement from your version. */ ...@@ -38,13 +38,13 @@ exception statement from your version. */
package java.util; package java.util;
import java.security.Permission; import java.io.IOException;
import java.security.BasicPermission;
import java.security.PermissionCollection;
import java.io.ObjectStreamField;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; 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> * This class represents the permission to access and modify a property.<br>
......
/* java.util.TimeZone /* java.util.TimeZone
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -38,9 +38,10 @@ exception statement from your version. */ ...@@ -38,9 +38,10 @@ exception statement from your version. */
package java.util; package java.util;
import java.text.DateFormatSymbols;
import gnu.classpath.Configuration; import gnu.classpath.Configuration;
import java.text.DateFormatSymbols;
/** /**
* This class represents a time zone offset and handles daylight savings. * This class represents a time zone offset and handles daylight savings.
* *
......
/* TreeMap.java -- a class providing a basic Red-Black Tree data structure, /* TreeMap.java -- a class providing a basic Red-Black Tree data structure,
mapping Object --> Object 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. This file is part of GNU Classpath.
...@@ -39,10 +39,10 @@ exception statement from your version. */ ...@@ -39,10 +39,10 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.Serializable;
import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
import java.io.IOException; 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 * This class provides a red-black tree implementation of the SortedMap
......
/* TreeSet.java -- a class providing a TreeMap-backed SortedSet /* 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. This file is part of GNU Classpath.
...@@ -39,9 +39,9 @@ exception statement from your version. */ ...@@ -39,9 +39,9 @@ exception statement from your version. */
package java.util; package java.util;
import java.io.IOException; import java.io.IOException;
import java.io.Serializable;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import java.io.Serializable;
/** /**
* This class provides a TreeMap-backed implementation of the SortedSet * This class provides a TreeMap-backed implementation of the SortedSet
......
/* Vector.java -- Class that provides growable arrays. /* 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. This file is part of GNU Classpath.
...@@ -37,8 +37,8 @@ exception statement from your version. */ ...@@ -37,8 +37,8 @@ exception statement from your version. */
package java.util; package java.util;
import java.lang.reflect.Array;
import java.io.Serializable; import java.io.Serializable;
import java.lang.reflect.Array;
/** /**
* The <code>Vector</code> classes implements growable arrays of Objects. * The <code>Vector</code> classes implements growable arrays of Objects.
......
/* WeakHashMap -- a hashtable that keeps only weak references /* WeakHashMap -- a hashtable that keeps only weak references
to its keys, allowing the virtual machine to reclaim them 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. This file is part of GNU Classpath.
...@@ -39,8 +39,8 @@ exception statement from your version. */ ...@@ -39,8 +39,8 @@ exception statement from your version. */
package java.util; package java.util;
import java.lang.ref.WeakReference;
import java.lang.ref.ReferenceQueue; 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 * A weak hash map has only weak references to the key. This means that it
......
/* JarFile.java - Representation of a jar file /* JarFile.java - Representation of a jar file
Copyright (C) 2000, 2003 Free Software Foundation, Inc. Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,14 +37,14 @@ exception statement from your version. */ ...@@ -37,14 +37,14 @@ exception statement from your version. */
package java.util.jar; package java.util.jar;
import java.util.zip.ZipEntry;
import java.util.zip.ZipException;
import java.util.zip.ZipFile;
import java.io.File; import java.io.File;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.zip.ZipEntry;
import java.util.zip.ZipException;
import java.util.zip.ZipFile;
/** /**
* Representation of a jar file. * Representation of a jar file.
......
/* JarInputStream.java - InputStream for reading jar files /* JarInputStream.java - InputStream for reading jar files
Copyright (C) 2000 Free Software Foundation, Inc. Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,8 +37,8 @@ exception statement from your version. */ ...@@ -37,8 +37,8 @@ exception statement from your version. */
package java.util.jar; package java.util.jar;
import java.io.InputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream; import java.util.zip.ZipInputStream;
......
/* JarOutputStream.java - OutputStream for writing jar files /* JarOutputStream.java - OutputStream for writing jar files
Copyright (C) 2000 Free Software Foundation, Inc. Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -37,8 +37,8 @@ exception statement from your version. */ ...@@ -37,8 +37,8 @@ exception statement from your version. */
package java.util.jar; package java.util.jar;
import java.io.OutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream; import java.util.zip.ZipOutputStream;
......
/* Attributes.java -- Reads, writes and manipulaties jar manifest files /* Manifest.java -- Reads, writes and manipulaties jar manifest files
Copyright (C) 2000 Free Software Foundation, Inc. Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -45,12 +45,9 @@ import java.io.InputStreamReader; ...@@ -45,12 +45,9 @@ import java.io.InputStreamReader;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.OutputStreamWriter; import java.io.OutputStreamWriter;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.io.Reader;
import java.io.Writer;
import java.util.Hashtable; import java.util.Hashtable;
import java.util.Iterator; import java.util.Iterator;
import java.util.Map; import java.util.Map;
import java.util.Set;
/** /**
* Reads, writes and manipulaties jar manifest files. * Reads, writes and manipulaties jar manifest files.
......
/* FileHandler.java /* FileHandler.java
-- a class for publishing log messages to log files -- a class for publishing log messages to log files
Copyright (C) 2002, 2003 Free Software Foundation, Inc. Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -41,9 +41,9 @@ exception statement from your version. ...@@ -41,9 +41,9 @@ exception statement from your version.
package java.util.logging; package java.util.logging;
import java.io.IOException;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException;
/** /**
* A <code>FileHandler</code> publishes log records to a set of log * A <code>FileHandler</code> publishes log records to a set of log
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
-- a class for formatting log messages by localizing message texts -- a class for formatting log messages by localizing message texts
and performing substitution of parameters and performing substitution of parameters
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -43,8 +43,8 @@ exception statement from your version. ...@@ -43,8 +43,8 @@ exception statement from your version.
package java.util.logging; package java.util.logging;
import java.util.ResourceBundle;
import java.text.MessageFormat; import java.text.MessageFormat;
import java.util.ResourceBundle;
/** /**
* A <code>Formatter</code> supports handlers by localizing * A <code>Formatter</code> supports handlers by localizing
......
/* Handler.java /* Handler.java
-- a class for publishing log messages -- a class for publishing log messages
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -43,7 +43,6 @@ exception statement from your version. ...@@ -43,7 +43,6 @@ exception statement from your version.
package java.util.logging; package java.util.logging;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.security.AccessController;
/** /**
* A <code>Handler</code> publishes <code>LogRecords</code> to * A <code>Handler</code> publishes <code>LogRecords</code> to
......
/* Logger.java /* Logger.java
-- a class for logging messages -- a class for logging messages
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -42,9 +42,9 @@ exception statement from your version. ...@@ -42,9 +42,9 @@ exception statement from your version.
package java.util.logging; package java.util.logging;
import java.util.ResourceBundle;
import java.util.MissingResourceException;
import java.util.List; import java.util.List;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
/** /**
* A Logger is used for logging information about events. Usually, there * A Logger is used for logging information about events. Usually, there
......
/* SimpleFormatter.java /* SimpleFormatter.java
-- a class for formatting log records into short human-readable messages -- a class for formatting log records into short human-readable messages
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -42,8 +42,8 @@ exception statement from your version. ...@@ -42,8 +42,8 @@ exception statement from your version.
package java.util.logging; package java.util.logging;
import java.util.Date;
import java.text.DateFormat; import java.text.DateFormat;
import java.util.Date;
/** /**
* A <code>SimpleFormatter</code> formats log records into * A <code>SimpleFormatter</code> formats log records into
......
/* XMLFormatter.java /* XMLFormatter.java
-- a class for formatting log messages into a standard XML format -- a class for formatting log messages into a standard XML format
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -42,10 +42,9 @@ exception statement from your version. ...@@ -42,10 +42,9 @@ exception statement from your version.
package java.util.logging; package java.util.logging;
import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import java.util.ResourceBundle; import java.util.ResourceBundle;
import java.text.MessageFormat;
import java.text.SimpleDateFormat;
/** /**
* An <code>XMLFormatter</code> formats LogRecords into * An <code>XMLFormatter</code> formats LogRecords into
......
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