commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject commons-io git commit: Fix Javadoc typos (closes #30)
Date Wed, 15 Feb 2017 18:42:04 GMT
Repository: commons-io
Updated Branches:
  refs/heads/master 546316432 -> 8b9fe1b01


Fix Javadoc typos (closes #30)


Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/8b9fe1b0
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/8b9fe1b0
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/8b9fe1b0

Branch: refs/heads/master
Commit: 8b9fe1b01ce21003f6a6ff8391ad2a64f4d21030
Parents: 5463164
Author: Sebastian K├╝rten <sebastian@topobyte.de>
Authored: Wed Feb 15 17:19:34 2017 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Wed Feb 15 19:37:53 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/io/DirectoryWalker.java     |  4 ++--
 src/main/java/org/apache/commons/io/FileCleaner.java    |  6 +++---
 .../java/org/apache/commons/io/FileCleaningTracker.java |  6 +++---
 .../java/org/apache/commons/io/FileDeleteStrategy.java  |  2 +-
 src/main/java/org/apache/commons/io/FileUtils.java      |  4 ++--
 src/main/java/org/apache/commons/io/FilenameUtils.java  |  8 ++++----
 src/main/java/org/apache/commons/io/IOCase.java         |  2 +-
 src/main/java/org/apache/commons/io/ThreadMonitor.java  |  2 +-
 .../apache/commons/io/comparator/ReverseComparator.java |  2 +-
 .../commons/io/comparator/SizeFileComparator.java       |  2 +-
 .../commons/io/filefilter/AbstractFileFilter.java       |  4 ++--
 .../org/apache/commons/io/filefilter/AgeFileFilter.java |  8 ++++----
 .../org/apache/commons/io/filefilter/AndFileFilter.java |  4 ++--
 .../apache/commons/io/filefilter/CanReadFileFilter.java |  2 +-
 .../commons/io/filefilter/CanWriteFileFilter.java       |  2 +-
 .../commons/io/filefilter/DelegateFileFilter.java       |  4 ++--
 .../commons/io/filefilter/DirectoryFileFilter.java      |  2 +-
 .../apache/commons/io/filefilter/EmptyFileFilter.java   |  2 +-
 .../apache/commons/io/filefilter/FalseFileFilter.java   |  2 +-
 .../apache/commons/io/filefilter/FileFileFilter.java    |  2 +-
 .../apache/commons/io/filefilter/FileFilterUtils.java   |  4 ++--
 .../apache/commons/io/filefilter/HiddenFileFilter.java  |  2 +-
 .../apache/commons/io/filefilter/NameFileFilter.java    |  4 ++--
 .../org/apache/commons/io/filefilter/NotFileFilter.java |  4 ++--
 .../org/apache/commons/io/filefilter/OrFileFilter.java  |  4 ++--
 .../apache/commons/io/filefilter/PrefixFileFilter.java  |  4 ++--
 .../apache/commons/io/filefilter/SizeFileFilter.java    |  4 ++--
 .../apache/commons/io/filefilter/SuffixFileFilter.java  |  8 ++++----
 .../apache/commons/io/filefilter/WildcardFilter.java    |  4 ++--
 .../org/apache/commons/io/input/BOMInputStream.java     |  2 +-
 .../org/apache/commons/io/input/BoundedInputStream.java |  2 +-
 .../java/org/apache/commons/io/input/BoundedReader.java | 12 ++++++++----
 .../org/apache/commons/io/input/CharSequenceReader.java |  2 +-
 .../apache/commons/io/input/ObservableInputStream.java  |  2 +-
 src/main/java/org/apache/commons/io/input/Tailer.java   |  2 +-
 .../org/apache/commons/io/input/XmlStreamReader.java    |  2 +-
 .../commons/io/monitor/FileAlterationMonitor.java       |  4 ++--
 .../commons/io/monitor/FileAlterationObserver.java      |  6 +++---
 .../apache/commons/io/output/ByteArrayOutputStream.java |  8 ++++----
 .../commons/io/output/DeferredFileOutputStream.java     |  2 +-
 .../commons/io/output/ThresholdingOutputStream.java     |  4 ++--
 .../org/apache/commons/io/output/XmlStreamWriter.java   |  2 +-
 .../org/apache/commons/io/ByteOrderMarkTestCase.java    |  2 +-
 .../apache/commons/io/FileUtilsFileNewerTestCase.java   | 10 +++++-----
 .../commons/io/input/compatibility/XmlStreamReader.java |  2 +-
 .../commons/io/monitor/AbstractMonitorTestCase.java     |  2 +-
 .../commons/io/output/DeferredFileOutputStreamTest.java |  4 ++--
 .../java/org/apache/commons/io/testtools/TestUtils.java |  2 +-
 48 files changed, 92 insertions(+), 88 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/DirectoryWalker.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/DirectoryWalker.java b/src/main/java/org/apache/commons/io/DirectoryWalker.java
index 1a8725b..439dc48 100644
--- a/src/main/java/org/apache/commons/io/DirectoryWalker.java
+++ b/src/main/java/org/apache/commons/io/DirectoryWalker.java
@@ -30,7 +30,7 @@ import org.apache.commons.io.filefilter.TrueFileFilter;
  * subclasses with convenient hooks to add specific behaviour.
  * <p>
  * This class operates with a {@link FileFilter} and maximum depth to
- * limit the files and direcories visited.
+ * limit the files and directories visited.
  * Commons IO supplies many common filter implementations in the
  * <a href="filefilter/package-summary.html"> filefilter</a> package.
  * <p>
@@ -172,7 +172,7 @@ import org.apache.commons.io.filefilter.TrueFileFilter;
  * <p>
  * Two possible scenarios are envisaged for cancellation:
  * <ul>
- *    <li><a href="#external">3.1 External / Mult-threaded</a> - cancellation being
+ *    <li><a href="#external">3.1 External / Multi-threaded</a> - cancellation being
  *        decided/initiated by an external process.</li>
  *    <li><a href="#internal">3.2 Internal</a> - cancellation being decided/initiated
  *        from within a DirectoryWalker implementation.</li>

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/FileCleaner.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileCleaner.java b/src/main/java/org/apache/commons/io/FileCleaner.java
index a6ac6d8..a47b2f3 100644
--- a/src/main/java/org/apache/commons/io/FileCleaner.java
+++ b/src/main/java/org/apache/commons/io/FileCleaner.java
@@ -60,7 +60,7 @@ public class FileCleaner {
     /**
      * Track the specified file, using the provided marker, deleting the file
      * when the marker instance is garbage collected.
-     * The speified deletion strategy is used.
+     * The specified deletion strategy is used.
      *
      * @param file  the file to be tracked, not null
      * @param marker  the marker object used to track the file, not null
@@ -91,7 +91,7 @@ public class FileCleaner {
     /**
      * Track the specified file, using the provided marker, deleting the file
      * when the marker instance is garbage collected.
-     * The speified deletion strategy is used.
+     * The specified deletion strategy is used.
      *
      * @param path  the full path to the file to be tracked, not null
      * @param marker  the marker object used to track the file, not null
@@ -125,7 +125,7 @@ public class FileCleaner {
      * thread will simply exit when the JVM exits. In a more complex environment,
      * with multiple class loaders (such as an application server), you should be
      * aware that the file cleaner thread will continue running even if the class
-     * loader it was started from terminates. This can consitute a memory leak.
+     * loader it was started from terminates. This can constitute a memory leak.
      * <p>
      * For example, suppose that you have developed a web application, which
      * contains the commons-io jar file in your WEB-INF/lib directory. In other

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/FileCleaningTracker.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileCleaningTracker.java b/src/main/java/org/apache/commons/io/FileCleaningTracker.java
index 4fc2d96..6067682 100644
--- a/src/main/java/org/apache/commons/io/FileCleaningTracker.java
+++ b/src/main/java/org/apache/commons/io/FileCleaningTracker.java
@@ -82,7 +82,7 @@ public class FileCleaningTracker {
     /**
      * Track the specified file, using the provided marker, deleting the file
      * when the marker instance is garbage collected.
-     * The speified deletion strategy is used.
+     * The specified deletion strategy is used.
      *
      * @param file  the file to be tracked, not null
      * @param marker  the marker object used to track the file, not null
@@ -112,7 +112,7 @@ public class FileCleaningTracker {
     /**
      * Track the specified file, using the provided marker, deleting the file
      * when the marker instance is garbage collected.
-     * The speified deletion strategy is used.
+     * The specified deletion strategy is used.
      *
      * @param path  the full path to the file to be tracked, not null
      * @param marker  the marker object used to track the file, not null
@@ -175,7 +175,7 @@ public class FileCleaningTracker {
      * thread will simply exit when the JVM exits. In a more complex environment,
      * with multiple class loaders (such as an application server), you should be
      * aware that the file cleaner thread will continue running even if the class
-     * loader it was started from terminates. This can consitute a memory leak.
+     * loader it was started from terminates. This can constitute a memory leak.
      * <p>
      * For example, suppose that you have developed a web application, which
      * contains the commons-io jar file in your WEB-INF/lib directory. In other

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileDeleteStrategy.java b/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
index 3fdb7a6..866a454 100644
--- a/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
+++ b/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
@@ -106,7 +106,7 @@ public class FileDeleteStrategy {
      * This implementation uses {@link File#delete()}.
      *
      * @param fileToDelete  the file to delete, exists, not null
-     * @return true if the file was deleteds
+     * @return true if the file was deleted
      * @throws NullPointerException if the file is null
      * @throws IOException if an error occurs during file deletion
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/FileUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index 9af1f83..1547424 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -2562,7 +2562,7 @@ public class FileUtils {
     /**
      * the size of a file
      * @param file the file to check
-     * @return the size of the fil
+     * @return the size of the file
      */
     private static long sizeOf0(File file) {
         if (file.isDirectory()) {
@@ -2616,7 +2616,7 @@ public class FileUtils {
     // internal method; if file does not exist will return 0
 
     /**
-     * Returns the sid of a file
+     * Returns the size of a file
      * @param fileOrDir The file
      * @return the size
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/FilenameUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/FilenameUtils.java b/src/main/java/org/apache/commons/io/FilenameUtils.java
index 822ac95..dd5e6df 100644
--- a/src/main/java/org/apache/commons/io/FilenameUtils.java
+++ b/src/main/java/org/apache/commons/io/FilenameUtils.java
@@ -328,7 +328,7 @@ public class FilenameUtils {
      *
      * @param filename  the filename to normalize, null returns null
      * @param unixSeparator {@code true} if a unix separator should
-     * be used or {@code false} if a windows separtor should be used.
+     * be used or {@code false} if a windows separator should be used.
      * @return the normalized filename, or null if invalid. Null bytes inside string will be removed
      * @since 2.0
      */
@@ -1278,7 +1278,7 @@ public class FilenameUtils {
      *
      * @param filename  the filename to match on
      * @param wildcardMatcher  the wildcard string to match against
-     * @return true if the filename matches the wilcard string
+     * @return true if the filename matches the wildcard string
      * @see IOCase#SENSITIVE
      */
     public static boolean wildcardMatch(final String filename, final String wildcardMatcher) {
@@ -1304,7 +1304,7 @@ public class FilenameUtils {
      *
      * @param filename  the filename to match on
      * @param wildcardMatcher  the wildcard string to match against
-     * @return true if the filename matches the wilcard string
+     * @return true if the filename matches the wildcard string
      * @see IOCase#SYSTEM
      */
     public static boolean wildcardMatchOnSystem(final String filename, final String wildcardMatcher) {
@@ -1322,7 +1322,7 @@ public class FilenameUtils {
      * @param filename  the filename to match on
      * @param wildcardMatcher  the wildcard string to match against
      * @param caseSensitivity  what case sensitivity rule to use, null means case-sensitive
-     * @return true if the filename matches the wilcard string
+     * @return true if the filename matches the wildcard string
      * @since 1.3
      */
     public static boolean wildcardMatch(final String filename, final String wildcardMatcher, IOCase caseSensitivity) {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/IOCase.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/IOCase.java b/src/main/java/org/apache/commons/io/IOCase.java
index 3734436..d739c54 100644
--- a/src/main/java/org/apache/commons/io/IOCase.java
+++ b/src/main/java/org/apache/commons/io/IOCase.java
@@ -54,7 +54,7 @@ public enum IOCase implements Serializable {
      * Unix file separator and case-insensitive if they use the Windows file separator
      * (see {@link java.io.File#separatorChar}).
      * <p>
-     * If you derialize this constant of Windows, and deserialize on Unix, or vice
+     * If you serialize this constant on Windows, and deserialize on Unix, or vice
      * versa, then the value of the case-sensitivity flag will change.
      */
     SYSTEM ("System", !FilenameUtils.isSystemWindows());

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/ThreadMonitor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/ThreadMonitor.java b/src/main/java/org/apache/commons/io/ThreadMonitor.java
index d74895f..d9291f0 100644
--- a/src/main/java/org/apache/commons/io/ThreadMonitor.java
+++ b/src/main/java/org/apache/commons/io/ThreadMonitor.java
@@ -117,7 +117,7 @@ class ThreadMonitor implements Runnable {
      *
      * This method exists because Thread.sleep(100) can sleep for 0, 70, 100 or 200ms or anything else
      * it deems appropriate. Read the docs on Thread.sleep for further interesting details.
-     * @
+     *
      * @param ms the number of milliseconds to sleep for
      * @throws InterruptedException if interrupted
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java b/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
index 9d4f0a3..d2fc127 100644
--- a/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
@@ -32,7 +32,7 @@ class ReverseComparator extends AbstractFileComparator implements Serializable {
     private final Comparator<File> delegate;
 
     /**
-     * Construct an instance with the sepecified delegate {@link Comparator}.
+     * Construct an instance with the specified delegate {@link Comparator}.
      *
      * @param delegate The comparator to delegate to
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java b/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
index 4b1e679..44c9071 100644
--- a/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
+++ b/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
@@ -87,7 +87,7 @@ public class SizeFileComparator extends AbstractFileComparator implements Serial
      * If the <code>sumDirectoryContents</code> is {@code true} The size of
      * directories is calculated using  {@link FileUtils#sizeOfDirectory(File)}.
      *
-     * @param sumDirectoryContents {@code true} if the sum of the directoryies contents
+     * @param sumDirectoryContents {@code true} if the sum of the directories' contents
      *  should be calculated, otherwise {@code false} if directories should be treated
      *  as size zero (see {@link FileUtils#sizeOfDirectory(File)}).
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
index 66f218d..b8350b0 100644
--- a/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
@@ -54,9 +54,9 @@ public abstract class AbstractFileFilter implements IOFileFilter {
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
index 2d5ee50..b66bfdd 100644
--- a/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
@@ -106,7 +106,7 @@ public class AgeFileFilter extends AbstractFileFilter implements Serializable {
      * a certain File (whose last modification time will be used as reference).
      *
      * @param cutoffReference  the file whose last modification
-     *        time is usesd as the threshold age of the files
+     *        time is used as the threshold age of the files
      */
     public AgeFileFilter(final File cutoffReference) {
         this(cutoffReference, true);
@@ -118,7 +118,7 @@ public class AgeFileFilter extends AbstractFileFilter implements Serializable {
      * reference).
      *
      * @param cutoffReference  the file whose last modification
-     *        time is usesd as the threshold age of the files
+     *        time is used as the threshold age of the files
      * @param acceptOlder  if true, older files (at or before the cutoff)
      * are accepted, else newer ones (after the cutoff).
      */
@@ -146,9 +146,9 @@ public class AgeFileFilter extends AbstractFileFilter implements Serializable {
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
index 1bece46..96e11a6 100644
--- a/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
@@ -149,9 +149,9 @@ public class AndFileFilter
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
index 6189378..32b1b12 100644
--- a/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
@@ -75,7 +75,7 @@ public class CanReadFileFilter extends AbstractFileFilter implements Serializabl
                                                 CanWriteFileFilter.CANNOT_WRITE);
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected CanReadFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
index c547b31..a5aec9a 100644
--- a/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
@@ -63,7 +63,7 @@ public class CanWriteFileFilter extends AbstractFileFilter implements Serializab
     public static final IOFileFilter CANNOT_WRITE = new NotFileFilter(CAN_WRITE);
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected CanWriteFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
index a4fdc74..e447e25 100644
--- a/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
@@ -96,9 +96,9 @@ public class DelegateFileFilter extends AbstractFileFilter implements Serializab
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
index 0051850..115ba69 100644
--- a/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
@@ -55,7 +55,7 @@ public class DirectoryFileFilter extends AbstractFileFilter implements Serializa
     public static final IOFileFilter INSTANCE = DIRECTORY;
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected DirectoryFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
index 96700e5..9290679 100644
--- a/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
@@ -62,7 +62,7 @@ public class EmptyFileFilter extends AbstractFileFilter implements Serializable
     public static final IOFileFilter NOT_EMPTY = new NotFileFilter(EMPTY);
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected EmptyFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
index 4576ff2..b04eef3 100644
--- a/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
@@ -44,7 +44,7 @@ public class FalseFileFilter implements IOFileFilter, Serializable {
     public static final IOFileFilter INSTANCE = FALSE;
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected FalseFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
index 50cc006..37aa6bf 100644
--- a/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
@@ -44,7 +44,7 @@ public class FileFileFilter extends AbstractFileFilter implements Serializable {
     public static final IOFileFilter FILE = new FileFileFilter();
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected FileFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java b/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java
index 21ce984..431bf2a 100644
--- a/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java
+++ b/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java
@@ -574,7 +574,7 @@ public class FileFilterUtils {
      * the specified reference file.
      *
      * @param cutoffReference  the file whose last modification
-     *        time is usesd as the threshold age of the files
+     *        time is used as the threshold age of the files
      * @return an appropriately configured age file filter
      * @see AgeFileFilter
      * @since 1.2
@@ -587,7 +587,7 @@ public class FileFilterUtils {
      * Returns a filter that filters files based on a cutoff reference file.
      *
      * @param cutoffReference  the file whose last modification
-     *        time is usesd as the threshold age of the files
+     *        time is used as the threshold age of the files
      * @param acceptOlder  if true, older files get accepted, if false, newer
      * @return an appropriately configured age file filter
      * @see AgeFileFilter

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
index 808831f..3adeb76 100644
--- a/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
@@ -59,7 +59,7 @@ public class HiddenFileFilter extends AbstractFileFilter implements Serializable
     public static final IOFileFilter VISIBLE = new NotFileFilter(HIDDEN);
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected HiddenFileFilter() {
     }

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java
index a5f2b7c..bd409c1 100644
--- a/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java
@@ -166,9 +166,9 @@ public class NameFileFilter extends AbstractFileFilter implements Serializable {
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
index eb7bd6b..d00c6c2 100644
--- a/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
@@ -69,9 +69,9 @@ public class NotFileFilter extends AbstractFileFilter implements Serializable {
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
index bc6cd14..f8c2cbd 100644
--- a/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
@@ -141,9 +141,9 @@ public class OrFileFilter
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
index a1f914e..b1ec2e5 100644
--- a/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
@@ -173,9 +173,9 @@ public class PrefixFileFilter extends AbstractFileFilter implements Serializable
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
index 2bfa171..2475ae5 100644
--- a/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
@@ -94,9 +94,9 @@ public class SizeFileFilter extends AbstractFileFilter implements Serializable {
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java b/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
index af45658..5c7a2a3 100644
--- a/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
@@ -80,7 +80,7 @@ public class SuffixFileFilter extends AbstractFileFilter implements Serializable
     }
 
     /**
-     * Constructs a new Suffix file filter for an array of suffixs.
+     * Constructs a new Suffix file filter for an array of suffixes.
      * <p>
      * The array is not cloned, so could be changed after constructing the
      * instance. This would be inadvisable however.
@@ -93,7 +93,7 @@ public class SuffixFileFilter extends AbstractFileFilter implements Serializable
     }
 
     /**
-     * Constructs a new Suffix file filter for an array of suffixs
+     * Constructs a new Suffix file filter for an array of suffixes
      * specifying case-sensitivity.
      *
      * @param suffixes  the suffixes to allow, must not be null
@@ -174,9 +174,9 @@ public class SuffixFileFilter extends AbstractFileFilter implements Serializable
     }
 
     /**
-     * Provide a String representaion of this file filter.
+     * Provide a String representation of this file filter.
      *
-     * @return a String representaion
+     * @return a String representation
      */
     @Override
     public String toString() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/filefilter/WildcardFilter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/filefilter/WildcardFilter.java b/src/main/java/org/apache/commons/io/filefilter/WildcardFilter.java
index f022596..dbcdda0 100644
--- a/src/main/java/org/apache/commons/io/filefilter/WildcardFilter.java
+++ b/src/main/java/org/apache/commons/io/filefilter/WildcardFilter.java
@@ -45,8 +45,8 @@ import org.apache.commons.io.FilenameUtils;
  * </pre>
  *
  * @since 1.1
- * @deprecated Use WilcardFileFilter. Deprecated as this class performs directory
- * filtering which it shouldn't do, but that can't be removed due to compatability.
+ * @deprecated Use WildcardFileFilter. Deprecated as this class performs directory
+ * filtering which it shouldn't do, but that can't be removed due to compatibility.
  */
 @Deprecated
 public class WildcardFilter extends AbstractFileFilter implements Serializable {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/BOMInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/BOMInputStream.java b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
index 9fed880..f53e061 100644
--- a/src/main/java/org/apache/commons/io/input/BOMInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
@@ -390,7 +390,7 @@ public class BOMInputStream extends ProxyInputStream {
     }
 
     /**
-     * Invokes the delegate's <code>skip(long)</code> method, detecting and optionallyskipping BOM.
+     * Invokes the delegate's <code>skip(long)</code> method, detecting and optionally skipping BOM.
      * 
      * @param n
      *            the number of bytes to skip

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/BoundedInputStream.java b/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
index 25175a6..0ea9a39 100644
--- a/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
@@ -48,7 +48,7 @@ public class BoundedInputStream extends InputStream {
     /** the marked position */
     private long mark = EOF;
 
-    /** flag if close shoud be propagated */
+    /** flag if close should be propagated */
     private boolean propagateClose = true;
 
     /**

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/BoundedReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/BoundedReader.java b/src/main/java/org/apache/commons/io/input/BoundedReader.java
index 587d602..4d7e772 100644
--- a/src/main/java/org/apache/commons/io/input/BoundedReader.java
+++ b/src/main/java/org/apache/commons/io/input/BoundedReader.java
@@ -73,9 +73,10 @@ public class BoundedReader
     }
 
     /**
-     * Resets the target to the latest mark, @see java.io.Reader#reset()
+     * Resets the target to the latest mark,
      *
      * @throws IOException If an I/O error occurs while calling the underlying reader's reset method
+     * @see java.io.Reader#reset()
      */
     @Override
     public void reset() throws IOException {
@@ -84,7 +85,7 @@ public class BoundedReader
     }
 
     /**
-     * marks the target stream, @see java.io.Reader#mark(int).
+     * marks the target stream
      *
      * @param readAheadLimit The number of characters that can be read while
      *                       still retaining the ability to do #reset().
@@ -94,6 +95,7 @@ public class BoundedReader
      *                       greater.
      *
      * @throws IOException If an I/O error occurs while calling the underlying reader's mark method
+     * @see java.io.Reader#mark(int).
      */
     @Override
     public void mark( int readAheadLimit ) throws IOException {
@@ -105,10 +107,11 @@ public class BoundedReader
     }
 
     /**
-     * Reads a single character, @see java.io.Reader#read()
+     * Reads a single character
      *
      * @return -1 on eof or the character read
      * @throws IOException If an I/O error occurs while calling the underlying reader's read method
+     * @see java.io.Reader#read()
      */
     @Override
     public int read() throws IOException {
@@ -125,13 +128,14 @@ public class BoundedReader
     }
 
     /**
-     * Reads into an array, @see java.io.Reader#read(char[], int, int)
+     * Reads into an array
      *
      * @param cbuf The buffer to fill
      * @param off  The offset
      * @param len  The number of chars to read
      * @return the number of chars read
      * @throws IOException If an I/O error occurs while calling the underlying reader's read method
+     * @see java.io.Reader#read(char[], int, int)
      */
     @Override
     public int read( char[] cbuf, int off, int len ) throws IOException {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/CharSequenceReader.java b/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
index efb9fc5..3649cf8 100644
--- a/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
+++ b/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
@@ -90,7 +90,7 @@ public class CharSequenceReader extends Reader implements Serializable {
     }
 
     /**
-     * Read the sepcified number of characters into the array.
+     * Read the specified number of characters into the array.
      *
      * @param array The array to store the characters in
      * @param offset The starting position in the array to store

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/ObservableInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/ObservableInputStream.java b/src/main/java/org/apache/commons/io/input/ObservableInputStream.java
index c580ba4..a8dd078 100644
--- a/src/main/java/org/apache/commons/io/input/ObservableInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/ObservableInputStream.java
@@ -40,7 +40,7 @@ public class ObservableInputStream extends ProxyInputStream {
         /** Called to indicate, that {@link InputStream#read()} has been invoked
          * on the {@link ObservableInputStream}, and will return a value.
          * @param pByte The value, which is being returned. This will never be -1 (EOF),
-         *    because, in that case, {link #finished()} will be invoked instead.
+         *    because, in that case, {@link #finished()} will be invoked instead.
          */
         void data(int pByte) throws IOException {}
         /** Called to indicate, that {@link InputStream#read(byte[])}, or

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/Tailer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/Tailer.java b/src/main/java/org/apache/commons/io/input/Tailer.java
index b955e83..999d397 100644
--- a/src/main/java/org/apache/commons/io/input/Tailer.java
+++ b/src/main/java/org/apache/commons/io/input/Tailer.java
@@ -110,7 +110,7 @@ import org.apache.commons.io.FileUtils;
  * </pre>
  * <p>If you interrupt a tailer, the tailer listener is called with the {@link InterruptedException}.</p>
  *
- * <p>The file is read using the default charset; this can be overriden if necessary</p>
+ * <p>The file is read using the default charset; this can be overridden if necessary</p>
  * @see TailerListener
  * @see TailerListenerAdapter
  * @version $Id$

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/input/XmlStreamReader.java b/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
index 2eb8d87..d1d24b3 100644
--- a/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
+++ b/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
@@ -36,7 +36,7 @@ import java.util.regex.Pattern;
 import org.apache.commons.io.ByteOrderMark;
 
 /**
- * Character stream that handles all the necessary Voodo to figure out the
+ * Character stream that handles all the necessary Voodoo to figure out the
  * charset encoding of the XML document within the stream.
  * <p>
  * IMPORTANT: This class is not related in any way to the org.xml.sax.XMLReader.

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java b/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
index fbc4c6f..e692425 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
@@ -46,7 +46,7 @@ public final class FileAlterationMonitor implements Runnable {
     /**
      * Construct a monitor with the specified interval.
      *
-     * @param interval The amount of time in miliseconds to wait between
+     * @param interval The amount of time in milliseconds to wait between
      * checks of the file system
      */
     public FileAlterationMonitor(final long interval) {
@@ -56,7 +56,7 @@ public final class FileAlterationMonitor implements Runnable {
     /**
      * Construct a monitor with the specified interval and set of observers.
      *
-     * @param interval The amount of time in miliseconds to wait between
+     * @param interval The amount of time in milliseconds to wait between
      * checks of the file system
      * @param observers The set of observers to add to the monitor.
      */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java b/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
index 1235982..bcf1b51 100644
--- a/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
+++ b/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
@@ -54,7 +54,7 @@ import org.apache.commons.io.comparator.NameFileComparator;
  * To manually observe a directory, initialize the observer and invoked the
  * {@link #checkAndNotify()} method as required:
  * <pre>
- *      // intialize
+ *      // initialize
  *      observer.init();
  *      ...
  *      // invoke as required
@@ -65,7 +65,7 @@ import org.apache.commons.io.comparator.NameFileComparator;
  *      // finished
  *      observer.finish();
  * </pre>
- * Alternatively, register the oberver(s) with a {@link FileAlterationMonitor},
+ * Alternatively, register the observer(s) with a {@link FileAlterationMonitor},
  * which creates a new thread, invoking the observer at the specified interval:
  * <pre>
  *      long interval = ...
@@ -288,7 +288,7 @@ public class FileAlterationObserver implements Serializable {
     }
 
     /**
-     * Check whether the file and its chlidren have been created, modified or deleted.
+     * Check whether the file and its children have been created, modified or deleted.
      */
     public void checkAndNotify() {
 

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java b/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
index 752fcda..3359cf1 100644
--- a/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
@@ -353,7 +353,7 @@ public class ByteArrayOutputStream extends OutputStream {
     }
 
     /**
-     * Gets the curent contents of this byte stream as a byte array.
+     * Gets the current contents of this byte stream as a byte array.
      * The result is independent of this stream.
      *
      * @return the current contents of this output stream, as a byte array
@@ -379,7 +379,7 @@ public class ByteArrayOutputStream extends OutputStream {
     }
 
     /**
-     * Gets the curent contents of this byte stream as a string
+     * Gets the current contents of this byte stream as a string
      * using the platform default charset.
      * @return the contents of the byte array as a String
      * @see java.io.ByteArrayOutputStream#toString()
@@ -393,7 +393,7 @@ public class ByteArrayOutputStream extends OutputStream {
     }
 
     /**
-     * Gets the curent contents of this byte stream as a string
+     * Gets the current contents of this byte stream as a string
      * using the specified encoding.
      *
      * @param enc  the name of the character encoding
@@ -406,7 +406,7 @@ public class ByteArrayOutputStream extends OutputStream {
     }
 
     /**
-     * Gets the curent contents of this byte stream as a string
+     * Gets the current contents of this byte stream as a string
      * using the specified encoding.
      *
      * @param charset  the character encoding

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java b/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
index fc3896e..bb3c246 100644
--- a/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
@@ -45,7 +45,7 @@ public class DeferredFileOutputStream
 
 
     /**
-     * The output stream to which data will be written prior to the theshold
+     * The output stream to which data will be written prior to the threshold
      * being reached.
      */
     private ByteArrayOutputStream memoryOutputStream;

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java b/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
index 9bb4fa2..77729e8 100644
--- a/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ThresholdingOutputStream.java
@@ -235,8 +235,8 @@ public abstract class ThresholdingOutputStream
     }
 
     /**
-     * Sets the byteCount to count.  Usefull for re-opening an output stream
-     * that been previously written to.
+     * Sets the byteCount to count.  Useful for re-opening an output stream
+     * that has previously been written to.
      *
      * @param count The number of bytes that have already been written to the
      * output stream

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java b/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
index 3da8007..53454ab 100644
--- a/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
+++ b/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
@@ -30,7 +30,7 @@ import java.util.regex.Pattern;
 import org.apache.commons.io.input.XmlStreamReader;
 
 /**
- * Character stream that handles all the necessary Voodo to figure out the
+ * Character stream that handles all the necessary Voodoo to figure out the
  * charset encoding of the XML document written to the stream.
  *
  * @see XmlStreamReader

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/test/java/org/apache/commons/io/ByteOrderMarkTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/ByteOrderMarkTestCase.java b/src/test/java/org/apache/commons/io/ByteOrderMarkTestCase.java
index 4aab149..9fc6398 100644
--- a/src/test/java/org/apache/commons/io/ByteOrderMarkTestCase.java
+++ b/src/test/java/org/apache/commons/io/ByteOrderMarkTestCase.java
@@ -107,7 +107,7 @@ public class ByteOrderMarkTestCase  {
         assertEquals("hash test3 ", bomClassHash + 6,  TEST_BOM_3.hashCode());
     }
 
-    /** Test Erros */
+    /** Test Errors */
     @Test
     public void errors() {
         try {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java b/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
index 908cb04..d0b4824 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsFileNewerTestCase.java
@@ -122,13 +122,13 @@ public class FileUtilsFileNewerTestCase extends FileBasedTestCase {
      * Creates :
      * <ul>
      * <li>a <code>Date</code> which represents the time reference</li>
-     * <li>a temporary file with the same last modification date than the time reference</li>
+     * <li>a temporary file with the same last modification date as the time reference</li>
      * </ul>
      * Then compares (with the needed <code>isFileNewer</code> method) the last modification date of
      * the specified file with the specified time reference, the created <code>Date</code> and the temporary
      * file.
      * <br>
-     * The test is successfull if the three comparaisons return the specified wanted result.
+     * The test is successful if the three comparisons return the specified wanted result.
      *
      * @param description describes the tested situation
      * @param file the file of which the last modification date is compared
@@ -153,7 +153,7 @@ public class FileUtilsFileNewerTestCase extends FileBasedTestCase {
     /**
      * Tests the <code>isFileNewer(File, long)</code> method without specifying a <code>File</code>.
      * <br>
-     * The test is successfull if the method throws an <code>IllegalArgumentException</code>.
+     * The test is successful if the method throws an <code>IllegalArgumentException</code>.
      */
     @Test(expected = IllegalArgumentException.class)
     public void testIsFileNewerNoFile() {
@@ -164,7 +164,7 @@ public class FileUtilsFileNewerTestCase extends FileBasedTestCase {
     /**
      * Tests the <code>isFileNewer(File, Date)</code> method without specifying a <code>Date</code>.
      * <br>
-     * The test is successfull if the method throws an <code>IllegalArgumentException</code>.
+     * The test is successful if the method throws an <code>IllegalArgumentException</code>.
      */
     @Test(expected = IllegalArgumentException.class)
     public void testIsFileNewerNoDate() {
@@ -175,7 +175,7 @@ public class FileUtilsFileNewerTestCase extends FileBasedTestCase {
     /**
      * Tests the <code>isFileNewer(File, File)</code> method without specifying a reference <code>File</code>.
      * <br>
-     * The test is successfull if the method throws an <code>IllegalArgumentException</code>.
+     * The test is successful if the method throws an <code>IllegalArgumentException</code>.
      */
     @Test(expected = IllegalArgumentException.class)
     public void testIsFileNewerNoFileReference() {

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java b/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
index 7d87326..be5b121 100644
--- a/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
+++ b/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
@@ -35,7 +35,7 @@ import java.util.regex.Pattern;
 import org.apache.commons.io.output.XmlStreamWriter;
 
 /**
- * Character stream that handles all the necessary Voodo to figure out the
+ * Character stream that handles all the necessary Voodoo to figure out the
  * charset encoding of the XML document within the stream.
  * <p>
  * IMPORTANT: This class is not related in any way to the org.xml.sax.XMLReader.

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java b/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
index adfce96..9ec9869 100644
--- a/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
+++ b/src/test/java/org/apache/commons/io/monitor/AbstractMonitorTestCase.java
@@ -41,7 +41,7 @@ public abstract class AbstractMonitorTestCase  {
     /** Listener which collects file changes */
     protected CollectionFileListener listener;
 
-    /** Test diretory name */
+    /** Test directory name */
     protected String testDirName = null;
 
     /** Directory for test files */

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
index ea8f543..adb58b9 100644
--- a/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java
@@ -180,7 +180,7 @@ public class DeferredFileOutputStreamTest
 
 
     /**
-     * Test wether writeTo() properly writes small content.
+     * Test whether writeTo() properly writes small content.
      */
     @Test
     public void testWriteToSmall(){
@@ -216,7 +216,7 @@ public class DeferredFileOutputStreamTest
     }
 
     /**
-     * Test wether writeTo() properly writes large content.
+     * Test whether writeTo() properly writes large content.
      */
     @Test
     public void testWriteToLarge(){

http://git-wip-us.apache.org/repos/asf/commons-io/blob/8b9fe1b0/src/test/java/org/apache/commons/io/testtools/TestUtils.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/io/testtools/TestUtils.java b/src/test/java/org/apache/commons/io/testtools/TestUtils.java
index d8b5737..8a73cac 100644
--- a/src/test/java/org/apache/commons/io/testtools/TestUtils.java
+++ b/src/test/java/org/apache/commons/io/testtools/TestUtils.java
@@ -206,7 +206,7 @@ public abstract class TestUtils {
      *
      * This method exists because Thread.sleep(100) can sleep for 0, 70, 100 or 200ms or anything else
      * it deems appropriate. Read the docs on Thread.sleep for further details.
-     * @
+     *
      * @param ms the number of milliseconds to sleep for
      * @throws InterruptedException if interrupted
      */


Mime
View raw message