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

View 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)

View 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

View 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;

View 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;

View 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;

View 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.

View 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;
}