diff options
Diffstat (limited to 'libjava/java/io')
| -rw-r--r-- | libjava/java/io/ByteArrayOutputStream.java | 2 | ||||
| -rw-r--r-- | libjava/java/io/CharConversionException.java | 2 | ||||
| -rw-r--r-- | libjava/java/io/PipedInputStream.java | 2 | ||||
| -rw-r--r-- | libjava/java/io/PipedReader.java | 2 | ||||
| -rw-r--r-- | libjava/java/io/PrintWriter.java | 2 | ||||
| -rw-r--r-- | libjava/java/io/WriteAbortedException.java | 2 | ||||
| -rw-r--r-- | libjava/java/io/natFileWin32.cc | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/io/ByteArrayOutputStream.java b/libjava/java/io/ByteArrayOutputStream.java index b26b9e427cb..65a98ae40db 100644 --- a/libjava/java/io/ByteArrayOutputStream.java +++ b/libjava/java/io/ByteArrayOutputStream.java @@ -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) diff --git a/libjava/java/io/CharConversionException.java b/libjava/java/io/CharConversionException.java index e090dfc60ba..b4fe77a6d57 100644 --- a/libjava/java/io/CharConversionException.java +++ b/libjava/java/io/CharConversionException.java @@ -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 diff --git a/libjava/java/io/PipedInputStream.java b/libjava/java/io/PipedInputStream.java index 328a1c0c19d..5f2bf6fb711 100644 --- a/libjava/java/io/PipedInputStream.java +++ b/libjava/java/io/PipedInputStream.java @@ -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; diff --git a/libjava/java/io/PipedReader.java b/libjava/java/io/PipedReader.java index 07569eb1dc1..48c18ab0ae5 100644 --- a/libjava/java/io/PipedReader.java +++ b/libjava/java/io/PipedReader.java @@ -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; diff --git a/libjava/java/io/PrintWriter.java b/libjava/java/io/PrintWriter.java index e6f962e3867..3a4f73f768c 100644 --- a/libjava/java/io/PrintWriter.java +++ b/libjava/java/io/PrintWriter.java @@ -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; diff --git a/libjava/java/io/WriteAbortedException.java b/libjava/java/io/WriteAbortedException.java index 0645ff79713..f73d5902358 100644 --- a/libjava/java/io/WriteAbortedException.java +++ b/libjava/java/io/WriteAbortedException.java @@ -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. diff --git a/libjava/java/io/natFileWin32.cc b/libjava/java/io/natFileWin32.cc index dae0b2b8377..7e731267386 100644 --- a/libjava/java/io/natFileWin32.cc +++ b/libjava/java/io/natFileWin32.cc @@ -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; } |

