This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Spelling patch: libjava
- To: <java-patches at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Subject: Spelling patch: libjava
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 31 Oct 2001 00:48:27 +0000 (GMT)
I've applied the following spelling patch to libjava.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.987
diff -u -r1.987 ChangeLog
--- ChangeLog 2001/10/30 10:14:48 1.987
+++ ChangeLog 2001/10/31 00:44:37
@@ -1,3 +1,37 @@
+2001-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * 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.
+
2001-10-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM. Don't call
@@ -1236,7 +1270,7 @@
of _Jv_AttachCurrentThread.
* gnu/gcj/runtime/FirstThread.java (FirstThread): Now extends Thread.
(run): New method. Take care of looking up main class manifest
- attribute and calling forName if neccessary. Then call call_main.
+ attribute and calling forName if necessary. Then call call_main.
(call_main): New native method.
* gnu/gcj/runtime/natFirstThread.cc (call_main): New function, code
relocated from prims.cc. Look up and call main method.
@@ -1784,7 +1818,7 @@
Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors
- table index is within allowed bounds. Ensure that we dont try to access
+ table index is within allowed bounds. Ensure that we don't try to access
class itable at a negative offset. Avoid an ancestor table lookup if
source is a primitive type class.
(isInstance): Remove redundant isPrimitive() check.
@@ -4788,7 +4822,7 @@
* java/awt/Toolkit.java (systemEventQueue): Removed.
(getDefaultToolkit): Default to "gnu.awt.gtk.GtkToolkit".
* java/awt/Window.java (getToolkit): Don't call super.
- * java/awt/image/BufferedImage.java: Fix definate assignment errors.
+ * java/awt/image/BufferedImage.java: Fix definite assignment errors.
* java/awt/peer/ContainerPeer.java (insets): Remove unused method.
* gnu/awt/gtk/GtkComponentPeer.java: New file.
* gnu/awt/gtk/GtkContainerPeer.java: New file.
@@ -5419,7 +5453,7 @@
* java/awt/image/BufferedImage.java: New file.
* java/awt/image/RasterOp.java: New file.
* java/awt/peer/ComponentPeer.java (getGraphicsConfiguration):
- More powerfull replacement for getColorModel().
+ More powerful replacement for getColorModel().
(getColorModel) Removed.
(setEventMask) New method.
* Makefile.am: Added new files.
Index: HACKING
===================================================================
RCS file: /cvs/gcc/gcc/libjava/HACKING,v
retrieving revision 1.2
diff -u -r1.2 HACKING
--- HACKING 2001/07/29 10:05:08 1.2
+++ HACKING 2001/10/31 00:44:37
@@ -40,7 +40,7 @@
<ftp://ftp.freesoftware.com/.0/sourceware/java/automake-gcj-1.4.tar.gz>
-Install that (dont worry, it should still work for other projects), add your
+Install that (don't worry, it should still work for other projects), add your
files to the Makefile.am, then just type "automake" and it will regenerate the
Makefile.in. Easy!
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libjava/acinclude.m4,v
retrieving revision 1.12
diff -u -r1.12 acinclude.m4
--- acinclude.m4 2001/07/18 17:06:23 1.12
+++ acinclude.m4 2001/10/31 00:44:37
@@ -9,7 +9,7 @@
*) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
esac], [multilib=yes])dnl
-dnl We may get other options which we dont document:
+dnl We may get other options which we don't document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
# When building with srcdir == objdir, links to the source files will
@@ -61,7 +61,7 @@
dnl Still use "libjava" here to placate dejagnu.
AM_INIT_AUTOMAKE(libjava, $version)
-# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we dont
+# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
# run it explicitly here, it will be run implicitly before
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
@@ -80,7 +80,7 @@
# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
# fails, because we are probably configuring with a cross compiler
# which cant create executables. So we include AC_EXEEXT to keep
-# automake happy, but we dont execute it, since we dont care about
+# automake happy, but we don't execute it, since we don't care about
# the result.
if false; then
# autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
Index: aclocal.m4
===================================================================
RCS file: /cvs/gcc/gcc/libjava/aclocal.m4,v
retrieving revision 1.19
diff -u -r1.19 aclocal.m4
--- aclocal.m4 2001/07/18 17:06:23 1.19
+++ aclocal.m4 2001/10/31 00:44:37
@@ -21,7 +21,7 @@
*) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
esac], [multilib=yes])dnl
-dnl We may get other options which we dont document:
+dnl We may get other options which we don't document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
# When building with srcdir == objdir, links to the source files will
@@ -73,7 +73,7 @@
dnl Still use "libjava" here to placate dejagnu.
AM_INIT_AUTOMAKE(libjava, $version)
-# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we dont
+# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
# run it explicitly here, it will be run implicitly before
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
@@ -92,7 +92,7 @@
# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
# fails, because we are probably configuring with a cross compiler
# which cant create executables. So we include AC_EXEEXT to keep
-# automake happy, but we dont execute it, since we dont care about
+# automake happy, but we don't execute it, since we don't care about
# the result.
if false; then
# autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure,v
retrieving revision 1.109
diff -u -r1.109 configure
--- configure 2001/10/24 21:57:07 1.109
+++ configure 2001/10/31 00:44:38
@@ -1364,7 +1364,7 @@
-# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we dont
+# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
# run it explicitly here, it will be run implicitly before
# LIBGCJ_CONFIGURE, which doesn't work because that means that it will
# be run before AC_CANONICAL_HOST.
@@ -1613,7 +1613,7 @@
# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
# fails, because we are probably configuring with a cross compiler
# which cant create executables. So we include AC_EXEEXT to keep
-# automake happy, but we dont execute it, since we dont care about
+# automake happy, but we don't execute it, since we don't care about
# the result.
if false; then
# autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
Index: posix-threads.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/posix-threads.cc,v
retrieving revision 1.29
diff -u -r1.29 posix-threads.cc
--- posix-threads.cc 2001/10/24 21:57:08 1.29
+++ posix-threads.cc 2001/10/31 00:44:38
@@ -161,7 +161,7 @@
mu->owner = self;
mu->count = count;
- // If we were interrupted, or if a timeout occured, remove ourself from
+ // If we were interrupted, or if a timeout occurred, remove ourself from
// the cv wait list now. (If we were notified normally, notify() will have
// already taken care of this)
if (r == ETIMEDOUT || interrupted)
Index: gnu/gcj/xlib/Pixmap.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/xlib/Pixmap.java,v
retrieving revision 1.1
diff -u -r1.1 Pixmap.java
--- Pixmap.java 2000/10/22 17:46:09 1.1
+++ Pixmap.java 2001/10/31 00:44:38
@@ -24,7 +24,7 @@
/* FIXME: don't create a new GC all the time. This might actually
not be as bad as initially believed. The GC cache of Xlib makes
- this opertation less costly. */
+ this operation less costly. */
GC gc = new GC(this);
gc.putImage(image, 0, 0, 0, 0, image.getWidth(), image.getHeight());
Index: gnu/gcj/xlib/XException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/xlib/XException.java,v
retrieving revision 1.1
diff -u -r1.1 XException.java
--- XException.java 2000/10/22 17:46:09 1.1
+++ XException.java 2001/10/31 00:44:38
@@ -9,7 +9,7 @@
package gnu.gcj.xlib;
/**
- * Runtime exception that occured during an Xlib opertation.
+ * Runtime exception that occurred during an Xlib operation.
*
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
*/
Index: gnu/java/rmi/rmic/RMIC.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/rmi/rmic/RMIC.java,v
retrieving revision 1.2
diff -u -r1.2 RMIC.java
--- RMIC.java 2001/10/12 22:04:07 1.2
+++ RMIC.java 2001/10/31 00:44:39
@@ -647,7 +647,7 @@
out.println();
- // getOpertions method
+ // getOperations method
out.print("public java.rmi.server.Operation[] getOperations() {");
ctrl.indent();
out.print("return ((java.rmi.server.Operation[]) operations.clone());");
Index: java/awt/Window.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Window.java,v
retrieving revision 1.8
diff -u -r1.8 Window.java
--- Window.java 2000/12/18 21:20:31 1.8
+++ Window.java 2001/10/31 00:44:39
@@ -143,7 +143,7 @@
super.show ();
- // FIXME: Is this call neccessary or do we assume the peer takes care of
+ // FIXME: Is this call necessary or do we assume the peer takes care of
// it?
// this.toFront();
}
Index: java/awt/AWTEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/AWTEvent.java,v
retrieving revision 1.5
diff -u -r1.5 AWTEvent.java
--- AWTEvent.java 2000/07/12 03:32:06 1.5
+++ AWTEvent.java 2001/10/31 00:44:39
@@ -17,7 +17,7 @@
/**
* AWTEvent is the root event class for all AWT events in the JDK 1.1 event
- * model. It supercedes the Event class from JDK 1.0.
+ * model. It supersedes the Event class from JDK 1.0.
*/
public abstract class AWTEvent extends java.util.EventObject
Index: java/io/ByteArrayOutputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/ByteArrayOutputStream.java,v
retrieving revision 1.6
diff -u -r1.6 ByteArrayOutputStream.java
--- ByteArrayOutputStream.java 2001/08/31 17:11:27 1.6
+++ ByteArrayOutputStream.java 2001/10/31 00:44:39
@@ -186,7 +186,7 @@
return new String (buf, 0, count, hibyte);
}
- // Resize buffer to accomodate new bytes.
+ // Resize buffer to accommodate new bytes.
private void resize (int add)
{
if (count + add >= buf.length)
Index: java/io/CharConversionException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/CharConversionException.java,v
retrieving revision 1.4
diff -u -r1.4 CharConversionException.java
--- CharConversionException.java 2001/09/02 06:18:48 1.4
+++ CharConversionException.java 2001/10/31 00:44:39
@@ -33,7 +33,7 @@
*/
/**
- * This exception is thrown to indicate that a problem occured with
+ * This exception is thrown to indicate that a problem occurred with
* an attempted character conversion.
*
* @version 0.0
Index: java/io/PipedInputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PipedInputStream.java,v
retrieving revision 1.9
diff -u -r1.9 PipedInputStream.java
--- PipedInputStream.java 2001/01/06 23:28:40 1.9
+++ PipedInputStream.java 2001/10/31 00:44:39
@@ -194,7 +194,7 @@
else
copylen = Math.min (len, buffer.length - in);
- // Copy bytes until the pipe is filled, wrapping if neccessary.
+ // Copy bytes until the pipe is filled, wrapping if necessary.
System.arraycopy(buf, bufpos, buffer, in, copylen);
len -= copylen;
bufpos += copylen;
Index: java/io/PipedReader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PipedReader.java,v
retrieving revision 1.9
diff -u -r1.9 PipedReader.java
--- PipedReader.java 2001/02/13 18:55:13 1.9
+++ PipedReader.java 2001/10/31 00:44:39
@@ -181,7 +181,7 @@
else
copylen = Math.min (len, buffer.length - in);
- // Copy chars until the pipe is filled, wrapping if neccessary.
+ // Copy chars until the pipe is filled, wrapping if necessary.
System.arraycopy(buf, bufpos, buffer, in, copylen);
len -= copylen;
bufpos += copylen;
Index: java/io/PrintWriter.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/PrintWriter.java,v
retrieving revision 1.7
diff -u -r1.7 PrintWriter.java
--- PrintWriter.java 2001/02/17 13:59:12 1.7
+++ PrintWriter.java 2001/10/31 00:44:39
@@ -57,7 +57,7 @@
private boolean autoflush;
/**
- * This boolean indicates whether or not an error has ever occured
+ * This boolean indicates whether or not an error has ever occurred
* on this stream.
*/
private boolean error;
Index: java/io/WriteAbortedException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/WriteAbortedException.java,v
retrieving revision 1.2
diff -u -r1.2 WriteAbortedException.java
--- WriteAbortedException.java 2000/06/27 05:10:02 1.2
+++ WriteAbortedException.java 2001/10/31 00:44:39
@@ -1,4 +1,4 @@
-/* WriteAbortedException.java -- An exception occured while writing a
+/* WriteAbortedException.java -- An exception occurred while writing a
serialization stream
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
Index: java/io/natFileWin32.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/io/natFileWin32.cc,v
retrieving revision 1.5
diff -u -r1.5 natFileWin32.cc
--- natFileWin32.cc 2001/07/18 18:35:12 1.5
+++ natFileWin32.cc 2001/10/31 00:44:39
@@ -84,7 +84,7 @@
if (query == LENGTH)
return ((long long)info.nFileSizeHigh) << 32 | (unsigned long long)info.nFileSizeLow;
else {
- // FIXME? This is somewhat compiler dependant (the LL constant suffix)
+ // FIXME? This is somewhat compiler dependent (the LL constant suffix)
// The file time as return by windows is the number of 100-nanosecond intervals since January 1, 1601
return (((((long long)info.ftLastWriteTime.dwHighDateTime) << 32) | ((unsigned long long)info.ftLastWriteTime.dwLowDateTime)) - 116444736000000000LL) / 10000LL;
}
Index: java/lang/Class.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Class.h,v
retrieving revision 1.38
diff -u -r1.38 Class.h
--- Class.h 2001/10/16 11:18:03 1.38
+++ Class.h 2001/10/31 00:44:39
@@ -305,7 +305,7 @@
friend jshort _Jv_FindIIndex (jclass *, jshort *, jshort);
// Return array class corresponding to element type KLASS, creating it if
- // neccessary.
+ // necessary.
inline friend jclass
_Jv_GetArrayClass (jclass klass, java::lang::ClassLoader *loader)
{
Index: java/lang/natClassLoader.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natClassLoader.cc,v
retrieving revision 1.41
diff -u -r1.41 natClassLoader.cc
--- natClassLoader.cc 2001/10/26 01:51:04 1.41
+++ natClassLoader.cc 2001/10/31 00:44:39
@@ -657,7 +657,7 @@
array_class->interface_count = sizeof interfaces / sizeof interfaces[0];
// Since all array classes have the same interface dispatch table, we can
- // cache one and reuse it. It is not neccessary to synchronize this.
+ // cache one and reuse it. It is not necessary to synchronize this.
if (!array_idt)
{
_Jv_PrepareConstantTimeTables (array_class);
Index: java/lang/natObject.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natObject.cc,v
retrieving revision 1.19
diff -u -r1.19 natObject.cc
--- natObject.cc 2001/10/15 22:42:42 1.19
+++ natObject.cc 2001/10/31 00:44:40
@@ -746,7 +746,7 @@
// heavy lock. Unlink it and, if necessary, register a finalizer
// to destroy sync_info.
unlink_heavy(addr, he);
- hl -> address = 0; // Dont destroy it again.
+ hl -> address = 0; // Don't destroy it again.
release_set(&(he -> address), he_address);
# if defined (_Jv_HaveCondDestroy) || defined (_Jv_HaveMutexDestroy)
// Make sure lock is not held and then destroy condvar and mutex.
Index: java/lang/Package.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Package.java,v
retrieving revision 1.2
diff -u -r1.2 Package.java
--- Package.java 2001/10/07 18:02:45 1.2
+++ Package.java 2001/10/31 00:44:40
@@ -39,7 +39,7 @@
* <a href="http://java.sun.com/products/jdk/1.3/docs/guide/versioning/spec/VersioningSpecification.html">Product Versioning Specification</a>.
* It also allows packages to be sealed with respect to the originating URL.
* <p>
- * The most usefull method is the <code>isCompatibleWith()</code> method that
+ * The most useful method is the <code>isCompatibleWith()</code> method that
* compares a desired version of a specification with the version of the
* specification as implemented by a package. A package is considered
* compatible with another version if the version of the specification is
Index: java/net/BindException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/BindException.java,v
retrieving revision 1.4
diff -u -r1.4 BindException.java
--- BindException.java 2001/09/02 06:18:49 1.4
+++ BindException.java 2001/10/31 00:44:40
@@ -1,4 +1,4 @@
-/* BindException.java -- An exception occured while binding to a socket
+/* BindException.java -- An exception occurred while binding to a socket
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -33,7 +33,7 @@
*/
/**
- * This exception indicates that an error occured while attempting to bind
+ * This exception indicates that an error occurred while attempting to bind
* socket to a particular port.
*
* @author Aaron M. Renn (arenn@urbanophile.com)
Index: java/net/ConnectException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/ConnectException.java,v
retrieving revision 1.4
diff -u -r1.4 ConnectException.java
--- ConnectException.java 2001/09/02 06:18:49 1.4
+++ ConnectException.java 2001/10/31 00:44:40
@@ -1,4 +1,4 @@
-/* ConnectException.java -- An exception occured while connecting to a host
+/* ConnectException.java -- An exception occurred while connecting to a host
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -34,7 +34,7 @@
*/
/**
- * This exception indicates that an error occured while attempting to
+ * This exception indicates that an error occurred while attempting to
* connect to a remote host. Often this indicates that the remote host
* refused the connection (ie, is not listening on the target socket).
*
Index: java/net/ProtocolException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/ProtocolException.java,v
retrieving revision 1.4
diff -u -r1.4 ProtocolException.java
--- ProtocolException.java 2001/09/02 06:18:49 1.4
+++ ProtocolException.java 2001/10/31 00:44:40
@@ -1,4 +1,4 @@
-/* ProtocolException.java -- A low level protocol error occured
+/* ProtocolException.java -- A low level protocol error occurred
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -34,7 +34,7 @@
/**
* This exception indicates that some sort of low level protocol
- * exception occured. Look in the descriptive message (if any) for
+ * exception occurred. Look in the descriptive message (if any) for
* details on what went wrong
*
* @author Aaron M. Renn (arenn@urbanophile.com)
Index: java/net/SocketException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/SocketException.java,v
retrieving revision 1.4
diff -u -r1.4 SocketException.java
--- SocketException.java 2001/09/02 06:18:49 1.4
+++ SocketException.java 2001/10/31 00:44:40
@@ -1,4 +1,4 @@
-/* SocketException.java -- An exception occured while performing a socket op
+/* SocketException.java -- An exception occurred while performing a socket op
Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -31,7 +31,7 @@
*/
/**
- * This exception indicates that a generic error occured related to an
+ * This exception indicates that a generic error occurred related to an
* operation on a socket. Check the descriptive message (if any) for
* details on the nature of this error
*
Index: java/net/UnknownServiceException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/UnknownServiceException.java,v
retrieving revision 1.4
diff -u -r1.4 UnknownServiceException.java
--- UnknownServiceException.java 2001/09/02 06:18:49 1.4
+++ UnknownServiceException.java 2001/10/31 00:44:40
@@ -1,4 +1,4 @@
-/* UnknownServiceException.java -- A service error occured
+/* UnknownServiceException.java -- A service error occurred
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: java/security/cert/X509Certificate.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/cert/X509Certificate.java,v
retrieving revision 1.1
diff -u -r1.1 X509Certificate.java
--- X509Certificate.java 2000/08/19 18:19:41 1.1
+++ X509Certificate.java 2001/10/31 00:44:40
@@ -288,7 +288,7 @@
@return the DER encoded tbsCertificate
- @throws CertificateEncodingException if encoding error occured
+ @throws CertificateEncodingException if encoding error occurred
*/
public abstract byte[] getTBSCertificate() throws CertificateEncodingException;
Index: java/security/interfaces/DSAKey.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/interfaces/DSAKey.java,v
retrieving revision 1.2
diff -u -r1.2 DSAKey.java
--- DSAKey.java 2001/04/25 15:45:13 1.2
+++ DSAKey.java 2001/10/31 00:44:40
@@ -1,4 +1,4 @@
-/* DSAKey.java -- Interface for Digital Signature Algorith key
+/* DSAKey.java -- Interface for Digital Signature Algorithm key
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU Classpath.
Index: java/security/SecureRandom.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/SecureRandom.java,v
retrieving revision 1.3
diff -u -r1.3 SecureRandom.java
--- SecureRandom.java 2001/10/18 00:05:29 1.3
+++ SecureRandom.java 2001/10/31 00:44:40
@@ -55,7 +55,7 @@
It is not seeded and should be seeded using setSeed or else
on the first call to getnextBytes it will force a seed.
- It is maintained for backwards compatability and programs
+ It is maintained for backwards compatibility and programs
should use getInstance.
*/
public SecureRandom()
@@ -115,7 +115,7 @@
It is seeded with the passed function and is useful if the user
has access to hardware random device (like a radiation detector).
- It is maintained for backwards compatability and programs
+ It is maintained for backwards compatibility and programs
should use getInstance.
@param seed Seed bytes for class
Index: java/security/SignedObject.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/SignedObject.java,v
retrieving revision 1.1
diff -u -r1.1 SignedObject.java
--- SignedObject.java 2001/04/25 15:45:12 1.1
+++ SignedObject.java 2001/10/31 00:44:40
@@ -80,7 +80,7 @@
@param signingKey the key to sign with
@param signingEngine the signature engine to use
- @throws IOException serialization error occured
+ @throws IOException serialization error occurred
@throws InvalidKeyException invalid key
@throws SignatureException signing error
*/
@@ -108,8 +108,8 @@
@return the encapsulated object
- @throws IOException de-serialization error occured
- @throws ClassNotFoundException de-serialization error occured
+ @throws IOException de-serialization error occurred
+ @throws ClassNotFoundException de-serialization error occurred
*/
public Object getObject() throws IOException, ClassNotFoundException
{
Index: java/sql/DatabaseMetaData.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/sql/DatabaseMetaData.java,v
retrieving revision 1.3
diff -u -r1.3 DatabaseMetaData.java
--- DatabaseMetaData.java 2001/01/06 23:28:40 1.3
+++ DatabaseMetaData.java 2001/10/31 00:44:40
@@ -47,7 +47,7 @@
public static final int bestRowNotPseudo = 1;
/**
- * The best row identifer is a pseudo-column.
+ * The best row identifier is a pseudo-column.
*/
public static final int bestRowPseudo = 2;
@@ -58,12 +58,12 @@
public static final int bestRowTemporary = 0;
/**
- * The best row identifer is valid to the end of the transaction.
+ * The best row identifier is valid to the end of the transaction.
*/
public static final int bestRowTransaction = 1;
/**
- * The best row identifer is valid to the end of the session.
+ * The best row identifier is valid to the end of the session.
*/
public static final int bestRowSession = 2;
@@ -2696,7 +2696,7 @@
* <li>TYPE_SCEHM - The schema name, which may be <code>null</code>.
* <li>TYPE_NAME - The user defined data type name.
* <li>CLASS_NAME - The Java class name this type maps to.
- * <li>DATA_TYPE - A type identifer from <code>Types</code> for this type.
+ * <li>DATA_TYPE - A type identifier from <code>Types</code> for this type.
* This will be one of <code>JAVA_OBJECT</code>, <code>STRUCT</code>, or
* <code>DISTINCT</code>.
* <li>REMARKS - Comments about this data type.
@@ -2708,7 +2708,7 @@
* @param schema The schema to retrieve information from, or the empty string
* to return entities not associated with a schema.
* @param typePattern The type name pattern to match.
- * @param types The type identifer patterns (from <code>Types</code>) to
+ * @param types The type identifier patterns (from <code>Types</code>) to
* match.
*
* @return A <code>ResultSet</code> with the requested type information
Index: java/text/DecimalFormatSymbols.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/text/DecimalFormatSymbols.java,v
retrieving revision 1.7
diff -u -r1.7 DecimalFormatSymbols.java
--- DecimalFormatSymbols.java 2001/09/05 00:00:55 1.7
+++ DecimalFormatSymbols.java 2001/10/31 00:44:40
@@ -476,7 +476,7 @@
}
/**
- * This method sets the charcter used to represen the digit zero.
+ * This method sets the character used to represent the digit zero.
*
* @param zeroDigit The character used to represent the digit zero.
*/
Index: java/util/jar/Attributes.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/jar/Attributes.java,v
retrieving revision 1.3
diff -u -r1.3 Attributes.java
--- Attributes.java 2000/11/18 02:00:06 1.3
+++ Attributes.java 2001/10/31 00:44:40
@@ -45,7 +45,7 @@
* 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>
Index: java/util/jar/JarEntry.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/jar/JarEntry.java,v
retrieving revision 1.5
diff -u -r1.5 JarEntry.java
--- JarEntry.java 2000/11/18 02:00:06 1.5
+++ JarEntry.java 2001/10/31 00:44:40
@@ -46,7 +46,7 @@
public class JarEntry extends ZipEntry
{
- // (Packge local) fields
+ // (Package local) fields
Attributes attr;
Certificate certs[];
Index: java/util/jar/JarInputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/jar/JarInputStream.java,v
retrieving revision 1.5
diff -u -r1.5 JarInputStream.java
--- JarInputStream.java 2000/11/18 02:00:06 1.5
+++ JarInputStream.java 2001/10/31 00:44:40
@@ -75,7 +75,7 @@
* 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
Index: java/util/jar/JarOutputStream.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/jar/JarOutputStream.java,v
retrieving revision 1.2
diff -u -r1.2 JarOutputStream.java
--- JarOutputStream.java 2000/11/18 02:00:06 1.2
+++ JarOutputStream.java 2001/10/31 00:44:40
@@ -93,7 +93,7 @@
* 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
{
Index: java/util/Calendar.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Calendar.java,v
retrieving revision 1.10
diff -u -r1.10 Calendar.java
--- Calendar.java 2001/07/26 11:21:45 1.10
+++ Calendar.java 2001/10/31 00:44:41
@@ -445,7 +445,7 @@
}
/**
- * 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 @@
* 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 @@
/**
* 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 @@
/**
* 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
Index: java/util/Collections.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Collections.java,v
retrieving revision 1.5
diff -u -r1.5 Collections.java
--- Collections.java 2001/10/04 05:34:47 1.5
+++ Collections.java 2001/10/31 00:44:41
@@ -538,7 +538,7 @@
/** 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;
Index: java/util/GregorianCalendar.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/GregorianCalendar.java,v
retrieving revision 1.13
diff -u -r1.13 GregorianCalendar.java
--- GregorianCalendar.java 2001/10/23 04:16:13 1.13
+++ GregorianCalendar.java 2001/10/31 00:44:41
@@ -216,7 +216,7 @@
* 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 @@
* 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 @@
/**
* 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 @@
/**
* 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.
Index: java/util/HashMap.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/HashMap.java,v
retrieving revision 1.8
diff -u -r1.8 HashMap.java
--- HashMap.java 2001/10/16 05:47:01 1.8
+++ HashMap.java 2001/10/31 00:44:41
@@ -505,7 +505,7 @@
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);
Index: java/util/List.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/List.java,v
retrieving revision 1.3
diff -u -r1.3 List.java
--- List.java 2001/10/16 05:47:01 1.3
+++ List.java 2001/10/31 00:44:41
@@ -288,7 +288,7 @@
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>.
*
Index: java/util/Properties.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Properties.java,v
retrieving revision 1.10
diff -u -r1.10 Properties.java
--- Properties.java 2001/09/11 03:13:07 1.10
+++ Properties.java 2001/10/31 00:44:41
@@ -125,7 +125,7 @@
* </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
{
Index: java/util/Timer.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Timer.java,v
retrieving revision 1.2
diff -u -r1.2 Timer.java
--- Timer.java 2001/02/09 23:28:55 1.2
+++ Timer.java 2001/10/31 00:44:42
@@ -39,8 +39,8 @@
* 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 @@
/** 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 @@
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 @@
}
/**
- * 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 @@
}
/**
- * 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 @@
}
/**
- * 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)
Index: java/util/Vector.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Vector.java,v
retrieving revision 1.11
diff -u -r1.11 Vector.java
--- Vector.java 2000/12/02 04:13:52 1.11
+++ Vector.java 2001/10/31 00:44:42
@@ -32,7 +32,7 @@
/**
* 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 @@
/**
* 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 @@
}
/**
- * 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 @@
}
/**
- * 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 @@
}
/**
- * 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.
*
Index: java/util/WeakHashMap.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/WeakHashMap.java,v
retrieving revision 1.1
diff -u -r1.1 WeakHashMap.java
--- WeakHashMap.java 2000/12/11 03:47:47 1.1
+++ WeakHashMap.java 2001/10/31 00:44:42
@@ -615,7 +615,7 @@
{
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.
Index: javax/naming/NamingException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/NamingException.java,v
retrieving revision 1.2
diff -u -r1.2 NamingException.java
--- NamingException.java 2001/10/19 20:36:07 1.2
+++ NamingException.java 2001/10/31 00:44:42
@@ -36,7 +36,7 @@
* <code>NamingException</code>), the part of the <code>Name</code> that
* could be resolved (including the <code>Object</code> it resolved to)
* and the part of the <code>Name</code> that could not be resolved when
- * the exception occured.
+ * the exception occurred.
*
* @since 1.3
* @author Anthony Green (green@redhat.com)
Index: testsuite/libjava.lang/Thread_Wait.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.lang/Thread_Wait.java,v
retrieving revision 1.1
diff -u -r1.1 Thread_Wait.java
--- Thread_Wait.java 2000/03/23 12:35:44 1.1
+++ Thread_Wait.java 2001/10/31 00:44:42
@@ -20,7 +20,7 @@
}
catch (Exception x)
{
- System.out.println("exception occured: " + x);
+ System.out.println("exception occurred: " + x);
}
synchronized (this)
@@ -41,7 +41,7 @@
}
catch (Exception x)
{
- System.out.println("exception occured: " + x);
+ System.out.println("exception occurred: " + x);
}
}
System.out.println ("thread notified okay");
Index: org/xml/sax/helpers/DefaultHandler.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/org/xml/sax/helpers/DefaultHandler.java,v
retrieving revision 1.1
diff -u -r1.1 DefaultHandler.java
--- DefaultHandler.java 2001/07/11 03:59:16 1.1
+++ DefaultHandler.java 2001/10/31 00:44:42
@@ -71,7 +71,7 @@
* in a subclass to do special translations such as catalog lookups
* or URI redirection.</p>
*
- * @param publicId The public identifer, or null if none is
+ * @param publicId The public identifier, or null if none is
* available.
* @param systemId The system identifier provided in the XML
* document.
Index: org/xml/sax/HandlerBase.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/org/xml/sax/HandlerBase.java,v
retrieving revision 1.1
diff -u -r1.1 HandlerBase.java
--- HandlerBase.java 2001/07/11 03:59:15 1.1
+++ HandlerBase.java 2001/10/31 00:44:42
@@ -58,7 +58,7 @@
* in a subclass to do special translations such as catalog lookups
* or URI redirection.</p>
*
- * @param publicId The public identifer, or null if none is
+ * @param publicId The public identifier, or null if none is
* available.
* @param systemId The system identifier provided in the XML
* document.
Index: org/xml/sax/SAXParseException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/org/xml/sax/SAXParseException.java,v
retrieving revision 1.1
diff -u -r1.1 SAXParseException.java
--- SAXParseException.java 2001/07/11 03:59:16 1.1
+++ SAXParseException.java 2001/10/31 00:44:42
@@ -100,9 +100,9 @@
* fully before creating the exception.</p>
*
* @param message The error or warning message.
- * @param publicId The public identifer of the entity that generated
+ * @param publicId The public identifier of the entity that generated
* the error or warning.
- * @param systemId The system identifer of the entity that generated
+ * @param systemId The system identifier of the entity that generated
* the error or warning.
* @param lineNumber The line number of the end of the text that
* caused the error or warning.
@@ -130,9 +130,9 @@
*
* @param message The error or warning message, or null to use
* the message from the embedded exception.
- * @param publicId The public identifer of the entity that generated
+ * @param publicId The public identifier of the entity that generated
* the error or warning.
- * @param systemId The system identifer of the entity that generated
+ * @param systemId The system identifier of the entity that generated
* the error or warning.
* @param lineNumber The line number of the end of the text that
* caused the error or warning.
--
Joseph S. Myers
jsm28@cam.ac.uk