HACKING, [...]: Fix spelling errors.

* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,
	gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java,
	java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java,
	java/io/CharConversionException.java,
	java/io/PipedInputStream.java, java/io/PipedReader.java,
	java/io/PrintWriter.java, java/io/WriteAbortedException.java,
	java/io/natFileWin32.cc, java/lang/Class.h,
	java/lang/natClassLoader.cc, java/lang/natObject.cc,
	java/lang/Package.java, java/net/BindException.java,
	java/net/ConnectException.java, java/net/ProtocolException.java,
	java/net/SocketException.java,
	java/net/UnknownServiceException.java,
	java/security/cert/X509Certificate.java,
	java/security/interfaces/DSAKey.java,
	java/security/SecureRandom.java, java/security/SignedObject.java,
	java/sql/DatabaseMetaData.java,
	java/text/DecimalFormatSymbols.java,
	java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
	java/util/jar/JarInputStream.java,
	java/util/jar/JarOutputStream.java, java/util/Calendar.java,
	java/util/Collections.java, java/util/GregorianCalendar.java,
	java/util/HashMap.java, java/util/List.java,
	java/util/Properties.java, java/util/Timer.java,
	java/util/Vector.java, java/util/WeakHashMap.java,
	javax/naming/NamingException.java,
	testsuite/libjava.lang/Thread_Wait.java,
	org/xml/sax/helpers/DefaultHandler.java,
	org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java,
	ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix
	spelling errors.
	* configure: Regenerate.

From-SVN: r46665
This commit is contained in:
Joseph Myers
2001-10-31 00:48:17 +00:00
parent ffc5527fa5
commit 18e1f2bd67
51 changed files with 126 additions and 92 deletions
+4 -4
View File
@@ -445,7 +445,7 @@ public abstract class Calendar implements Serializable, Cloneable
}
/**
* Gets the set of locales for which a Calendar is availiable.
* Gets the set of locales for which a Calendar is available.
* @exception MissingResourceException if locale data couldn't be found.
* @return the set of locales.
*/
@@ -682,7 +682,7 @@ public abstract class Calendar implements Serializable, Cloneable
* Compares the given calendar with this.
* @param o the object to that we should compare.
* @return true, if the given object is a calendar, that represents
* the same time (but doesn't neccessary have the same fields).
* the same time (but doesn't necessary have the same fields).
*/
public boolean equals(Object o)
{
@@ -892,7 +892,7 @@ public abstract class Calendar implements Serializable, Cloneable
/**
* Gets the actual minimum value that is allowed for the specified field.
* This value is dependant on the values of the other fields.
* This value is dependent on the values of the other fields.
* @param field the time field. One of the time field constants.
* @return the actual minimum value.
* @since jdk1.2
@@ -902,7 +902,7 @@ public abstract class Calendar implements Serializable, Cloneable
/**
* Gets the actual maximum value that is allowed for the specified field.
* This value is dependant on the values of the other fields.
* This value is dependent on the values of the other fields.
* @param field the time field. One of the time field constants.
* @return the actual maximum value.
* @since jdk1.2
+1 -1
View File
@@ -538,7 +538,7 @@ public class Collections
/** Cache a single Random object for use by shuffle(List). This improves
* performance as well as ensuring that sequential calls to shuffle() will
* not result in the same shuffle order occuring: the resolution of
* not result in the same shuffle order occurring: the resolution of
* System.currentTimeMillis() is not sufficient to guarantee a unique seed.
*/
private static Random defaultRandom = null;
+4 -4
View File
@@ -216,7 +216,7 @@ public class GregorianCalendar extends Calendar
* Get the linear time in milliseconds since the epoch. If you
* specify a nonpositive year it is interpreted as BC as
* following: 0 is 1 BC, -1 is 2 BC and so on. The date is
* interpreted as gregorian if the change occured before that date.
* interpreted as gregorian if the change occurred before that date.
*
* @param year the year of the date.
* @param dayOfYear the day of year of the date; 1 based.
@@ -627,7 +627,7 @@ public class GregorianCalendar extends Calendar
* Compares the given calender with this.
* @param o the object to that we should compare.
* @return true, if the given object is a calendar, that represents
* the same time (but doesn't neccessary have the same fields).
* the same time (but doesn't necessary have the same fields).
* @XXX Should we check if time zones, locale, cutover etc. are equal?
*/
public boolean equals(Object o)
@@ -973,7 +973,7 @@ public class GregorianCalendar extends Calendar
/**
* Gets the actual minimum value that is allowed for the specified field.
* This value is dependant on the values of the other fields. Note that
* This value is dependent on the values of the other fields. Note that
* this calls <code>complete()</code> if not enough fields are set. This
* can have ugly side effects.
* @param field the time field. One of the time field constants.
@@ -1001,7 +1001,7 @@ public class GregorianCalendar extends Calendar
/**
* Gets the actual maximum value that is allowed for the specified field.
* This value is dependant on the values of the other fields. Note that
* This value is dependent on the values of the other fields. Note that
* this calls <code>complete()</code> if not enough fields are set. This
* can have ugly side effects.
* @param field the time field. One of the time field constants.
+1 -1
View File
@@ -505,7 +505,7 @@ public class HashMap extends AbstractMap
public boolean remove(Object o)
{
// Test against the size of the HashMap to determine if anything
// really got removed. This is neccessary because the return value of
// really got removed. This is necessary because the return value of
// HashMap.remove() is ambiguous in the null case.
int oldsize = size;
HashMap.this.remove(o);
+1 -1
View File
@@ -288,7 +288,7 @@ public interface List extends Collection
Object remove(int index);
/**
* Remove the first occurence of an object from this list (optional
* Remove the first occurrence of an object from this list (optional
* operation). That is, remove the first element e such that
* <code>o == null ? e == null : o.equals(e)</code>.
*
+1 -1
View File
@@ -125,7 +125,7 @@ public class Properties extends Hashtable
* </pre>
*
* @param in the input stream
* @exception IOException if an error occured when reading
* @exception IOException if an error occurred when reading
* from the input. */
public void load(InputStream inStream) throws IOException
{
+7 -7
View File
@@ -39,8 +39,8 @@ package java.util;
* scheduling guarantees more or less that the task will be executed at a
* specific time, but if there is ever a delay in execution then the period
* between successive executions will be shorter. The first method of
* repeated scheduling is prefered for repeated tasks in response to user
* interaction, the second method of repeated scheduling is prefered for tasks
* repeated scheduling is preferred for repeated tasks in response to user
* interaction, the second method of repeated scheduling is preferred for tasks
* that act like alarms.
* <p>
* The Timer keeps a binary heap as a task priority queue which means that
@@ -65,7 +65,7 @@ public class Timer
/** Default size of this queue */
private final int DEFAULT_SIZE = 32;
/** Wheter to return null when there is nothing in the queue */
/** Whether to return null when there is nothing in the queue */
private boolean nullOnEmpty;
/**
@@ -375,7 +375,7 @@ public class Timer
private boolean canceled;
/**
* Creates a new Timer with a non deamon Thread as Scheduler, with normal
* Creates a new Timer with a non daemon Thread as Scheduler, with normal
* priority and a default name.
*/
public Timer()
@@ -384,7 +384,7 @@ public class Timer
}
/**
* Creates a new Timer with a deamon Thread as scheduler if deamon is true,
* Creates a new Timer with a daemon Thread as scheduler if daemon is true,
* with normal priority and a default name.
*/
public Timer(boolean daemon)
@@ -393,7 +393,7 @@ public class Timer
}
/**
* Creates a new Timer with a deamon Thread as scheduler if deamon is true,
* Creates a new Timer with a daemon Thread as scheduler if daemon is true,
* with the priority given and a default name.
*/
private Timer(boolean daemon, int priority)
@@ -402,7 +402,7 @@ public class Timer
}
/**
* Creates a new Timer with a deamon Thread as scheduler if deamon is true,
* Creates a new Timer with a daemon Thread as scheduler if daemon is true,
* with the priority and name given.E
*/
private Timer(boolean daemon, int priority, String name)
+7 -7
View File
@@ -32,7 +32,7 @@ import java.io.Serializable;
/**
* the <b>Vector</b> classes implements growable arrays of Objects.
* You can access elements in a Vector with an index, just as you
* can in a built in array, but Vectors can grow and shrink to accomodate
* can in a built in array, but Vectors can grow and shrink to accommodate
* more or fewer objects.
*
* Vectors try to mantain efficiency in growing by having a
@@ -244,12 +244,12 @@ public class Vector extends AbstractList
/**
* Searches the vector starting at <b>index</b> for object <b>elem</b>
* and returns the index of the first occurence of this Object. If
* and returns the index of the first occurrence of this Object. If
* the object is not found, -1 is returned
*
* @param e The Object to search for
* @param index Start searching at this index
* @returns The index of the first occurence of <b>elem</b>, or -1
* @returns The index of the first occurrence of <b>elem</b>, or -1
* if it is not found
*/
public synchronized int indexOf(Object e, int index)
@@ -263,11 +263,11 @@ public class Vector extends AbstractList
}
/**
* Returns the first occurence of <b>elem</b> in the Vector, or -1 if
* Returns the first occurrence of <b>elem</b> in the Vector, or -1 if
* <b>elem</b> is not found.
*
* @param elem The object to search for
* @returns The index of the first occurence of <b>elem</b> or -1 if
* @returns The index of the first occurrence of <b>elem</b> or -1 if
* not found
*/
public int indexOf(Object elem)
@@ -287,7 +287,7 @@ public class Vector extends AbstractList
}
/**
* Returns the index of the first occurence of <b>elem</b>, when searching
* Returns the index of the first occurrence of <b>elem</b>, when searching
* backwards from <b>index</b>. If the object does not occur in this Vector,
* -1 is returned.
*
@@ -465,7 +465,7 @@ public class Vector extends AbstractList
}
/**
* Removes the first occurence of the given object from the Vector.
* Removes the first occurrence of the given object from the Vector.
* If such a remove was performed (the object was found), true is returned.
* If there was no such object, false is returned.
*
+1 -1
View File
@@ -615,7 +615,7 @@ public class WeakHashMap extends AbstractMap implements Map
{
WeakBucket prev = buckets[slot];
/* This may throw a NullPointerException. It shouldn't but if
* a race condition occured (two threads removing the same
* a race condition occurred (two threads removing the same
* bucket at the same time) it may happen. <br>
* But with race condition many much worse things may happen
* anyway.
+1 -1
View File
@@ -45,7 +45,7 @@ import java.util.Set;
* manipulating the Attributes more or less type safe.
* <p>
* Most of the methods are wrappers to implement the Map interface. The really
* usefull and often used methods are <code>getValue(Name)</code> and
* useful and often used methods are <code>getValue(Name)</code> and
* <code>getValue(String)</code>. If you actually want to set attributes you
* may want to use the <code>putValue(String, String)</code> method
* (sorry there is no public type safe <code>putValue(Name, String)</code>
+1 -1
View File
@@ -46,7 +46,7 @@ import java.util.zip.ZipEntry;
public class JarEntry extends ZipEntry
{
// (Packge local) fields
// (Package local) fields
Attributes attr;
Certificate certs[];
+1 -1
View File
@@ -75,7 +75,7 @@ public class JarInputStream extends ZipInputStream
* tries to verify all the entry signatures while reading.
*
* @param in InputStream to read the jar from
* @param verify wheter or not to verify the manifest entries
* @param verify whether or not to verify the manifest entries
* @exception IOException when an error occurs when opening or reading
*/
public JarInputStream(InputStream in, boolean verify) throws IOException
+1 -1
View File
@@ -93,7 +93,7 @@ public class JarOutputStream extends ZipOutputStream
* This implementation just calls <code>super.putNextEntre()</code>.
*
* @param entry The information for the next entry
* @exception IOException when some unexpected I/O exception occured
* @exception IOException when some unexpected I/O exception occurred
*/
public void putNextEntry(ZipEntry entry) throws IOException
{