Skip to content

Commit 558e03e

Browse files
committed
[IO-352] Spelling fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1401522 13f79535-47bb-0310-9956-ffa450edef68
1 parent fe6e6f9 commit 558e03e

17 files changed

Lines changed: 31 additions & 28 deletions

RELEASE-NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ Bug fixes from 1.0
747747
Bytes from calls to this method were not previously counted
748748

749749
- NullOutputStream [33481]
750-
Remove unecessary synchronization
750+
Remove unnecessary synchronization
751751

752752
- AbstractFileFilter - accept(File, String) [30992]
753753
Fixed broken implementation

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167

168168
<!-- ========== Unit Test Targets ========================================= -->
169169

170-
<target name="compile.tests" depends="compile, download-dependencies" description="Compile unit test cases dependant on JDK version">
170+
<target name="compile.tests" depends="compile, download-dependencies" description="Compile unit test cases dependent on JDK version">
171171

172172
<javac srcdir="${test.home}"
173173
destdir="${build.home}/test-classes"

src/changes/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ The <action> type attribute can be add,update,fix,remove.
4747
<body>
4848
<!-- The release date is the date RC is cut -->
4949
<release version="2.5" date="201?-??-??" description="New features and bug fixes.">
50+
<action issue="IO-352" dev="ggregory" type="fix" due-to="scop">
51+
Spelling fixes.
52+
</action>
5053
<action issue="IO-348" dev="ggregory" type="add" due-to="plcstpierre">
5154
Missing information in IllegalArgumentException thrown by org.apache.commons.io.FileUtils#validateListFilesParameters.
5255
</action>

src/changes/release-notes.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ Bug fixes from 1.0
850850
Bytes from calls to this method were not previously counted
851851

852852
- NullOutputStream [33481]
853-
Remove unecessary synchronization
853+
Remove unnecessary synchronization
854854

855855
- AbstractFileFilter - accept(File, String) [30992]
856856
Fixed broken implementation

src/main/java/org/apache/commons/io/EndianUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* the low-order byte is stored in memory at the lowest address, and
3030
* subsequent bytes at higher addresses. For "Big Endian" architectures
3131
* (eg Motorola), the situation is reversed.
32-
* This class helps you solve this incompatability.
32+
* This class helps you solve this incompatibility.
3333
* <p>
3434
* Origin of code: Excalibur
3535
*

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,7 @@ public static void skipFully(Reader input, long toSkip) throws IOException {
23922392
*
23932393
* @param input where to read input from
23942394
* @param buffer destination
2395-
* @param offset inital offset into buffer
2395+
* @param offset initial offset into buffer
23962396
* @param length length to read, must be >= 0
23972397
* @return actual length read; may be less than requested if EOF was reached
23982398
* @throws IOException if a read error occurs
@@ -2438,7 +2438,7 @@ public static int read(Reader input, char[] buffer) throws IOException {
24382438
*
24392439
* @param input where to read input from
24402440
* @param buffer destination
2441-
* @param offset inital offset into buffer
2441+
* @param offset initial offset into buffer
24422442
* @param length length to read, must be >= 0
24432443
* @return actual length read; may be less than requested if EOF was reached
24442444
* @throws IOException if a read error occurs
@@ -2484,7 +2484,7 @@ public static int read(InputStream input, byte[] buffer) throws IOException {
24842484
*
24852485
* @param input where to read input from
24862486
* @param buffer destination
2487-
* @param offset inital offset into buffer
2487+
* @param offset initial offset into buffer
24882488
* @param length length to read, must be >= 0
24892489
*
24902490
* @throws IOException if there is a problem reading the file
@@ -2525,7 +2525,7 @@ public static void readFully(Reader input, char[] buffer) throws IOException {
25252525
*
25262526
* @param input where to read input from
25272527
* @param buffer destination
2528-
* @param offset inital offset into buffer
2528+
* @param offset initial offset into buffer
25292529
* @param length length to read, must be >= 0
25302530
*
25312531
* @throws IOException if there is a problem reading the file

src/main/java/org/apache/commons/io/ThreadMonitor.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
package org.apache.commons.io;
1818

1919
/**
20-
* Monitors a thread, interrupting it of it reaches the specified timout.
20+
* Monitors a thread, interrupting it if it reaches the specified timeout.
2121
* <p>
22-
* This works by sleeping until the specified timout amount and then
22+
* This works by sleeping until the specified timeout amount and then
2323
* interrupting the thread being monitored. If the thread being monitored
2424
* completes its work before being interrupted, it should <code>interrupt()<code>
2525
* the <i>monitor</i> thread.
@@ -46,10 +46,10 @@ class ThreadMonitor implements Runnable {
4646
/**
4747
* Start monitoring the current thread.
4848
*
49-
* @param timeout The timout amount in milliseconds
49+
* @param timeout The timeout amount in milliseconds
5050
* or no timeout if the value is zero or less
5151
* @return The monitor thread or {@code null}
52-
* if the timout amount is not greater than zero
52+
* if the timeout amount is not greater than zero
5353
*/
5454
public static Thread start(long timeout) {
5555
return start(Thread.currentThread(), timeout);
@@ -59,10 +59,10 @@ public static Thread start(long timeout) {
5959
* Start monitoring the specified thread.
6060
*
6161
* @param thread The thread The thread to monitor
62-
* @param timeout The timout amount in milliseconds
62+
* @param timeout The timeout amount in milliseconds
6363
* or no timeout if the value is zero or less
6464
* @return The monitor thread or {@code null}
65-
* if the timout amount is not greater than zero
65+
* if the timeout amount is not greater than zero
6666
*/
6767
public static Thread start(Thread thread, long timeout) {
6868
Thread monitor = null;
@@ -90,15 +90,15 @@ public static void stop(Thread thread) {
9090
* Construct and new monitor.
9191
*
9292
* @param thread The thread to monitor
93-
* @param timeout The timout amount in milliseconds
93+
* @param timeout The timeout amount in milliseconds
9494
*/
9595
private ThreadMonitor(Thread thread, long timeout) {
9696
this.thread = thread;
9797
this.timeout = timeout;
9898
}
9999

100100
/**
101-
* Sleep until the specified timout amount and then
101+
* Sleep until the specified timeout amount and then
102102
* interrupt the thread being monitored.
103103
*
104104
* @see Runnable#run()

src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* <p>
2929
* This comparator can be used to sort lists or arrays of files
3030
* by their file extension either in a case-sensitive, case-insensitive or
31-
* system dependant case sensitive way. A number of singleton instances
31+
* system dependent case sensitive way. A number of singleton instances
3232
* are provided for the various case sensitivity options (using {@link IOCase})
3333
* and the reverse of those options.
3434
* <p>

src/main/java/org/apache/commons/io/comparator/NameFileComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <p>
2727
* This comparator can be used to sort lists or arrays of files
2828
* by their name either in a case-sensitive, case-insensitive or
29-
* system dependant case sensitive way. A number of singleton instances
29+
* system dependent case sensitive way. A number of singleton instances
3030
* are provided for the various case sensitivity options (using {@link IOCase})
3131
* and the reverse of those options.
3232
* <p>

src/main/java/org/apache/commons/io/comparator/PathFileComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <p>
2727
* This comparator can be used to sort lists or arrays of files
2828
* by their path either in a case-sensitive, case-insensitive or
29-
* system dependant case sensitive way. A number of singleton instances
29+
* system dependent case sensitive way. A number of singleton instances
3030
* are provided for the various case sensitivity options (using {@link IOCase})
3131
* and the reverse of those options.
3232
* <p>

0 commit comments

Comments
 (0)