Skip to content

Commit 61ab2a7

Browse files
committed
Fix typos: timout -> timeout
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1586506 13f79535-47bb-0310-9956-ffa450edef68
1 parent 39acf07 commit 61ab2a7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public static long freeSpaceKb(final String path) throws IOException {
189189
* the exact result from df -k and as much other detail as possible, thanks.
190190
*
191191
* @param path the path to get free space for, not null, not empty on Unix
192-
* @param timeout The timout amount in milliseconds or no timeout if the value
192+
* @param timeout The timeout amount in milliseconds or no timeout if the value
193193
* is zero or less
194194
* @return the amount of free drive space on the drive or volume in kilobytes
195195
* @throws IllegalArgumentException if the path is invalid
@@ -224,7 +224,7 @@ public static long freeSpaceKb() throws IOException {
224224
* <pre>
225225
* freeSpaceKb(new File(".").getAbsolutePath())
226226
* </pre>
227-
* @param timeout The timout amount in milliseconds or no timeout if the value
227+
* @param timeout The timeout amount in milliseconds or no timeout if the value
228228
* is zero or less
229229
* @return the amount of free drive space on the drive or volume in kilobytes
230230
* @throws IllegalStateException if an error occurred in initialisation
@@ -249,7 +249,7 @@ public static long freeSpaceKb(final long timeout) throws IOException {
249249
* @param path the path to get free space for, not null, not empty on Unix
250250
* @param os the operating system code
251251
* @param kb whether to normalize to kilobytes
252-
* @param timeout The timout amount in milliseconds or no timeout if the value
252+
* @param timeout The timeout amount in milliseconds or no timeout if the value
253253
* is zero or less
254254
* @return the amount of free drive space on the drive or volume
255255
* @throws IllegalArgumentException if the path is invalid
@@ -280,7 +280,7 @@ long freeSpaceOS(final String path, final int os, final boolean kb, final long t
280280
* Find free space on the Windows platform using the 'dir' command.
281281
*
282282
* @param path the path to get free space for, including the colon
283-
* @param timeout The timout amount in milliseconds or no timeout if the value
283+
* @param timeout The timeout amount in milliseconds or no timeout if the value
284284
* is zero or less
285285
* @return the amount of free drive space on the drive
286286
* @throws IOException if an error occurs
@@ -372,7 +372,7 @@ long parseDir(final String line, final String path) throws IOException {
372372
* @param path the path to get free space for
373373
* @param kb whether to normalize to kilobytes
374374
* @param posix whether to use the posix standard format flag
375-
* @param timeout The timout amount in milliseconds or no timeout if the value
375+
* @param timeout The timeout amount in milliseconds or no timeout if the value
376376
* is zero or less
377377
* @return the amount of free drive space on the volume
378378
* @throws IOException if an error occurs
@@ -456,7 +456,7 @@ long parseBytes(final String freeSpace, final String path) throws IOException {
456456
*
457457
* @param cmdAttribs the command line parameters
458458
* @param max The maximum limit for the lines returned
459-
* @param timeout The timout amount in milliseconds or no timeout if the value
459+
* @param timeout The timeout amount in milliseconds or no timeout if the value
460460
* is zero or less
461461
* @return the lines returned by the command, converted to lower-case
462462
* @throws IOException if an error occurs

src/test/java/org/apache/commons/io/ThreadMonitorTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void testTimeout() {
3838
ThreadMonitor.stop(monitor);
3939
fail("Expected InterruptedException");
4040
} catch (final InterruptedException e) {
41-
// expected result - timout
41+
// expected result - timeout
4242
}
4343
}
4444

0 commit comments

Comments
 (0)