HACKING, [...]: Fix spelling errors.
authorJoseph Myers <jsm28@gcc.gnu.org>
Wed, 31 Oct 2001 00:48:17 +0000 (00:48 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 31 Oct 2001 00:48:17 +0000 (00:48 +0000)
* 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

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

index 8abc16751c6dff13e3b426f5b4223d7f42027482..cb12f6a4cad2b25c969b54bcd5d06ba023788abf 100644 (file)
@@ -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 @@ Tue Oct 23 23:52:18 2001  Anthony Green  <green@redhat.com>
        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 @@ Tue Oct 23 23:52:18 2001  Anthony Green  <green@redhat.com>
            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 @@ Sun Nov 26 21:30:25 2000  Anthony Green  <green@redhat.com>
        * 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 @@ Sat Aug 19 11:00:53 2000  Anthony Green  <green@redhat.com>
        * 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 842617abe755043efca91709ee094b3cfbf13a76..3f96b6f452996e559c1c11c1349d6fd90305b7fb 100644 (file)
@@ -40,7 +40,7 @@ Yup, you need the magic libgcj automake ;-)
 
 <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 bcccf362a304eda34d040717780d44d048382138..a2034fccf8f2d045aade4432cc775e78dc315e70 100644 (file)
@@ -9,7 +9,7 @@ AC_ARG_ENABLE(multilib,
   *)   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 @@ version=0.0.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 @@ AM_MAINTAINER_MODE
 # 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 0da1cc6769f2982873d8a255c5b47ba5b140da19..406fa89d7ae8aaa554cc89796fe627bcb97ec1af 100644 (file)
@@ -21,7 +21,7 @@ AC_ARG_ENABLE(multilib,
   *)   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 @@ version=0.0.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 @@ AM_MAINTAINER_MODE
 # 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 5cab3f0de66a31df2681472f848e51d0f2144537..06c782ff37dc00f7fa451c61e8e6cc24e404fc2d 100755 (executable)
@@ -1364,7 +1364,7 @@ fi
 
 
 
-# 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 @@ fi
 # 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 a81f55c87617231a214e1d5b77760331533156b9..a514d95d52b876f91eebffaadf5f2c76f73b1234 100644 (file)
@@ -24,7 +24,7 @@ public class Pixmap extends Drawable
     
     /* 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 73b10a1c631074b3e60208b79e287cbc2a4de3b9..32adfc14697a5f00883faddf33284ffa351ed011 100644 (file)
@@ -9,7 +9,7 @@ details.  */
 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 591d522421d88123942f30a1d3ed075ef26234c3..1ad0ffb65a1016deed89aeb94ae1ac92f4570e21 100644 (file)
@@ -647,7 +647,7 @@ private void generateSkel() throws IOException {
 
        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 bb09f0cab98b423849683afe1631056e199cd58f..0717f6dda4c8bf40f002461fc2340e967d0af565 100644 (file)
@@ -17,7 +17,7 @@ package java.awt;
 
 /**
  * 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 d56e8aa818343c38e1235d4efbc747d8f21164a7..ef661bd959981388bf3d8278feed2493a43ca380 100644 (file)
@@ -143,7 +143,7 @@ public class Window extends Container
     
     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 b26b9e427cb53d83979f6d40c5d136a6388ece18..65a98ae40db7ff190057cb0059ea4578e0a00f75 100644 (file)
@@ -186,7 +186,7 @@ public class ByteArrayOutputStream extends OutputStream
     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 e090dfc60ba08b6846eb610c9d517bd762700461..b4fe77a6d571776067485f7c321bc2ec93656c4e 100644 (file)
@@ -33,7 +33,7 @@ package java.io;
  */
 
 /**
-  * 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 328a1c0c19d0216028a3d69f68a642f55b9828bf..5f2bf6fb711744eb7d289301aa1a2e068f14df1d 100644 (file)
@@ -194,7 +194,7 @@ public class PipedInputStream extends InputStream
        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 07569eb1dc11fdf561de69743825c2c3cd0a1d19..48c18ab0ae52aca8ddd1f7ea9f4ad45649379e47 100644 (file)
@@ -181,7 +181,7 @@ public class PipedReader extends Reader
          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 e6f962e38670fdf285a8b889f064dd8d0662fe67..3a4f73f768c2d8ea37ed7c6ea1ecd76618f8c19d 100644 (file)
@@ -57,7 +57,7 @@ public class PrintWriter extends Writer
   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 0645ff79713cd8b7eaf47fcc1c1af60fe4fb404c..f73d59023588427a1f7ae6d61998fc4bc0a739b9 100644 (file)
@@ -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 dae0b2b8377af7b2a2d509dcfc491fe1abdeb5e1..7e731267386cff45b29d41a8d5dadc601691d728 100644 (file)
@@ -84,7 +84,7 @@ java::io::File::attr (jint query)
   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 24ca5b1f2b4e02ada04c8c796cbc097d20607301..f84f363df5ec1b775ed14c8bdb3985028df294ef 100644 (file)
@@ -305,7 +305,7 @@ private:
   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 189d26e611ba6dad17b4347f31eccef90ccc4a82..e7ca66876fabf264105ad74d04838e3854a22322 100644 (file)
@@ -39,7 +39,7 @@ import java.util.StringTokenizer;
  * <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 7d366078dc2c188688939720c588e13c868bd32a..d94055e1cf0e40df19a5d1cea42c531cc1e777df 100644 (file)
@@ -657,7 +657,7 @@ _Jv_NewArrayClass (jclass element, java::lang::ClassLoader *loader,
   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 17d8dbc8cfb0d4f2e3a9406a4badf80f42d7de41..816268c4f37e9a09e2c11b83e0394d9515fabe28 100644 (file)
@@ -746,7 +746,7 @@ heavy_lock_obj_finalization_proc (void *obj, void *cd)
       // 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 3aeedd3e6fbd062c8270272ed031cc28e2071b30..7fb5cfdd094f98495cd111426577b6b683c8ce29 100644 (file)
@@ -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 @@ package java.net;
  */
 
 /**
-  * 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 0ac64c8888c9cf1908a3ac996683ec7aefb75747..fc234a576a48d479802580ca9b3402acf6df401b 100644 (file)
@@ -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 @@ package java.net;
  */
 
 /**
-  * 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 5556f28abab2377bfd19bd59515d9ce92dd0b162..9c921e6e7271fe436895d63708e7cd864d2f60da 100644 (file)
@@ -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 @@ package java.net;
 
 /**
   * 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 37135f3a5d7b84a42750a1296ebd29aee7c09e5c..3520d4b92c17b6d2c0c94d28cfc33ede5379cb66 100644 (file)
@@ -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 @@ package java.net;
  */
 
 /**
-  * 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 f82607a502b6f381eb65f96d56e3e4bd9de26c8c..b890d2bc0e0461a9a6e9c5c30d77b20344730c68 100644 (file)
@@ -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 597d077993bb797b5563ea6ca94d2a76ad1a6413..00fdca260924aa1227a7d7845634bfdb09e36ff9 100644 (file)
@@ -55,7 +55,7 @@ public class SecureRandom extends Random
      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 @@ public class SecureRandom extends Random
      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 34f80e96706e8f00090c97328e631637d3e73df6..40aeba794a707269b561023e7cd8f68bf48cadd5 100644 (file)
@@ -80,7 +80,7 @@ public final class SignedObject implements Serializable
      @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 @@ public final class SignedObject implements Serializable
 
      @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 46f47f615d56239979224b1489d04231b3f7fee4..db51964656b43bc8bc35942cdc06b81e3053db51 100644 (file)
@@ -288,7 +288,7 @@ public abstract class X509Certificate extends Certificate implements X509Extensi
 
      @return the DER encoded tbsCertificate
 
-     @throws CertificateEncodingException if encoding error occured
+     @throws CertificateEncodingException if encoding error occurred
   */
   public abstract byte[] getTBSCertificate() throws CertificateEncodingException;
 
index 1670b5a4d8792b377d1f23fc1b0fc126e3001428..06fdec15d349b7df9d68c94673e66d96c52532b7 100644 (file)
@@ -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 92ed44e4551ba806cf80c6a1e1a0dfe7ef9579e7..2340d31338b960479c5e2257644efb6555b243d7 100644 (file)
@@ -47,7 +47,7 @@ public static final int bestRowUnknown = 0;
 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 bestRowPseudo = 2;
 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 @@ supportsBatchUpdates() throws SQLException;
   * <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 @@ supportsBatchUpdates() throws SQLException;
   * @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 bc5776a5668ccc3116eb6ba305ed5d52692afa77..7bdae5d6b2937860a470a059b10f7cbf1fe71075 100644 (file)
@@ -476,7 +476,7 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable
   }
 
   /**
-   * 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 81494112533038d95ea1fcc77fcb7b0d4a1605e9..a807a361623f545d6afb6fea6b2b085c1f039ef3 100644 (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
index 3e2a40e554ce9a6c9c21ed7a0679ecb7f3560444..8e77a8024760a57f59ab79c5f2c1bfd5226ae8eb 100644 (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;
index 4c6e23c53dfdd6c1485d771b4ba10f68bbb8c64c..f2141e0c599249ae210023a261bafabe66423a5f 100644 (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.
index b75718ffa6305bd82a533bd34ea0fa7aa5b56e16..3b351058a95929057eb75babac6af4348772216e 100644 (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);
index 25892d73cdcf05c49556d775c6f3c81110b525cd..f2ee49cd2606a1b662bd08ffe06af60b3be1cc5d 100644 (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>.
    *
index 457048c1d096bc13320235baf6cd79277185bfba..ee39a01b5303f90c5f807ee9c428ad5bce0eaa2c 100644 (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
   {
index d00c93768cb567e825b116ddd3e9d0ef5a727853..32c0bea3b3f7dec1d985f4497ed971cd5c1febe8 100644 (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)
index 167859076645de47bf92f981573dfacbce251137..cef84e51e720dc6aa08f50d90ffb25da4d4e5de9 100644 (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.
    *
index c81ecee1fe082f8daee72b49bb0ae3311f107de1..6f39d46810873377d04e7137f740373cab76fd8c 100644 (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.
index b18b5d8ca8a91e0c3581d0e8f5f133f3f9a2ae90..ce1c9abaa2c6ece094e2fb1cadecd7cc2c029aee 100644 (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>
index 7238d5b5164808aba0690ddc2bf77cf65da81119..fa27169d57143a533e153e70de07b07087e52f6c 100644 (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[];
index c63758e4daf5b19831ff3e6059972ca762fec01f..f077f1be6e98a13804a6bf9c50c4cb48ebbc2770 100644 (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
index ca7729df02e706a507a4e705e68a8cb5413cdfb9..c073819f54acc151bb859d4aafeedcbeac8faa6a 100644 (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
   {
index b214f19f519a61c7ea2bb7953869a35d62f23ad7..08f2e6b82f9ce6d13bcabbd8e828042891949766 100644 (file)
@@ -36,7 +36,7 @@ import java.io.PrintWriter;
  * <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 297aced7aaa12d7bb31146b2ec9349e445a1c74f..34a8f7675d9c138e803732e2c15217e365d78ed3 100644 (file)
@@ -58,7 +58,7 @@ public class HandlerBase
      * in a subclass to do special translations such as catalog lookups\r
      * or URI redirection.</p>\r
      *\r
-     * @param publicId The public identifer, or null if none is\r
+     * @param publicId The public identifier, or null if none is\r
      *                 available.\r
      * @param systemId The system identifier provided in the XML \r
      *                 document.\r
index bcfb94ebd2598e943e120c03eb345237ffa6d975..a5dcc06f0fb00362bb0f8ad997028f9da1459eeb 100644 (file)
@@ -100,9 +100,9 @@ public class SAXParseException extends SAXException {
      * fully before creating the exception.</p>\r
      *\r
      * @param message The error or warning message.\r
-     * @param publicId The public identifer of the entity that generated\r
+     * @param publicId The public identifier of the entity that generated\r
      *                 the error or warning.\r
-     * @param systemId The system identifer of the entity that generated\r
+     * @param systemId The system identifier of the entity that generated\r
      *                 the error or warning.\r
      * @param lineNumber The line number of the end of the text that\r
      *                   caused the error or warning.\r
@@ -130,9 +130,9 @@ public class SAXParseException extends SAXException {
      *\r
      * @param message The error or warning message, or null to use\r
      *                the message from the embedded exception.\r
-     * @param publicId The public identifer of the entity that generated\r
+     * @param publicId The public identifier of the entity that generated\r
      *                 the error or warning.\r
-     * @param systemId The system identifer of the entity that generated\r
+     * @param systemId The system identifier of the entity that generated\r
      *                 the error or warning.\r
      * @param lineNumber The line number of the end of the text that\r
      *                   caused the error or warning.\r
index dfda9c39a940ebc113ae0778a2991fc72b634b59..957d44d882e37d2ce624c32870b49128232372cb 100644 (file)
@@ -71,7 +71,7 @@ public class DefaultHandler
      * in a subclass to do special translations such as catalog lookups\r
      * or URI redirection.</p>\r
      *\r
-     * @param publicId The public identifer, or null if none is\r
+     * @param publicId The public identifier, or null if none is\r
      *                 available.\r
      * @param systemId The system identifier provided in the XML \r
      *                 document.\r
index aa73dbf55f3880c3dd30d703578327f031645d19..f068fbab53debb733e9214932fa6c8a37d7ea403 100644 (file)
@@ -161,7 +161,7 @@ _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu,
   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 5ca12ed5d4b83631b803b2a2f48a50dda096a6cd..a6492821b4b3a1bad42419791debb6e2aadaf902 100644 (file)
@@ -20,7 +20,7 @@ public class Thread_Wait implements Runnable
     }
     catch (Exception x)
     {
-      System.out.println("exception occured: " + x);
+      System.out.println("exception occurred: " + x);
     }
 
     synchronized (this)
@@ -41,7 +41,7 @@ public class Thread_Wait implements Runnable
       }
       catch (Exception x)
       {
-        System.out.println("exception occured: " + x);
+        System.out.println("exception occurred: " + x);
       }
     }    
     System.out.println ("thread notified okay");