commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1401522 - in /commons/proper/io/trunk: ./ src/changes/ src/main/java/org/apache/commons/io/ src/main/java/org/apache/commons/io/comparator/ src/main/java/org/apache/commons/io/filefilter/ src/main/java/org/apache/commons/io/input/ src/main...
Date Wed, 24 Oct 2012 00:39:35 GMT
Author: ggregory
Date: Wed Oct 24 00:39:34 2012
New Revision: 1401522

URL: http://svn.apache.org/viewvc?rev=1401522&view=rev
Log:
[IO-352] Spelling fixes.

Modified:
    commons/proper/io/trunk/RELEASE-NOTES.txt
    commons/proper/io/trunk/build.xml
    commons/proper/io/trunk/src/changes/changes.xml
    commons/proper/io/trunk/src/changes/release-notes.vm
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/EndianUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/ThreadMonitor.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
    commons/proper/io/trunk/src/site/xdoc/mail-lists.xml
    commons/proper/io/trunk/src/site/xdoc/upgradeto1_1.xml
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java

Modified: commons/proper/io/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/io/trunk/RELEASE-NOTES.txt Wed Oct 24 00:39:34 2012
@@ -747,7 +747,7 @@ Bug fixes from 1.0
     Bytes from calls to this method were not previously counted
 
 - NullOutputStream  [33481]
-    Remove unecessary synchronization
+    Remove unnecessary synchronization
 
 - AbstractFileFilter - accept(File, String)  [30992]
     Fixed broken implementation

Modified: commons/proper/io/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/build.xml?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/build.xml (original)
+++ commons/proper/io/trunk/build.xml Wed Oct 24 00:39:34 2012
@@ -167,7 +167,7 @@
 
 <!-- ========== Unit Test Targets ========================================= -->
 
-    <target name="compile.tests" depends="compile, download-dependencies" description="Compile
unit test cases dependant on JDK version">
+    <target name="compile.tests" depends="compile, download-dependencies" description="Compile
unit test cases dependent on JDK version">
 
       <javac srcdir="${test.home}"
              destdir="${build.home}/test-classes"

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Wed Oct 24 00:39:34 2012
@@ -47,6 +47,9 @@ The <action> type attribute can be add,u
   <body>
     <!-- The release date is the date RC is cut -->
     <release version="2.5" date="201?-??-??" description="New features and bug fixes.">
+      <action issue="IO-352" dev="ggregory" type="fix" due-to="scop">
+        Spelling fixes.
+      </action>            
       <action issue="IO-348" dev="ggregory" type="add" due-to="plcstpierre">
         Missing information in IllegalArgumentException thrown by org.apache.commons.io.FileUtils#validateListFilesParameters.
       </action>            

Modified: commons/proper/io/trunk/src/changes/release-notes.vm
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/release-notes.vm?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/release-notes.vm (original)
+++ commons/proper/io/trunk/src/changes/release-notes.vm Wed Oct 24 00:39:34 2012
@@ -850,7 +850,7 @@ Bug fixes from 1.0
     Bytes from calls to this method were not previously counted
 
 - NullOutputStream  [33481]
-    Remove unecessary synchronization
+    Remove unnecessary synchronization
 
 - AbstractFileFilter - accept(File, String)  [30992]
     Fixed broken implementation

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/EndianUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/EndianUtils.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/EndianUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/EndianUtils.java Wed Oct 24
00:39:34 2012
@@ -29,7 +29,7 @@ import java.io.OutputStream;
  * the low-order byte is stored in memory at the lowest address, and
  * subsequent bytes at higher addresses. For "Big Endian" architectures
  * (eg Motorola), the situation is reversed.
- * This class helps you solve this incompatability.
+ * This class helps you solve this incompatibility.
  * <p>
  * Origin of code: Excalibur
  *

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java Wed Oct 24 00:39:34
2012
@@ -2392,7 +2392,7 @@ public class IOUtils {
      * 
      * @param input where to read input from
      * @param buffer destination
-     * @param offset inital offset into buffer
+     * @param offset initial offset into buffer
      * @param length length to read, must be >= 0
      * @return actual length read; may be less than requested if EOF was reached
      * @throws IOException if a read error occurs
@@ -2438,7 +2438,7 @@ public class IOUtils {
      * 
      * @param input where to read input from
      * @param buffer destination
-     * @param offset inital offset into buffer
+     * @param offset initial offset into buffer
      * @param length length to read, must be >= 0
      * @return actual length read; may be less than requested if EOF was reached
      * @throws IOException if a read error occurs
@@ -2484,7 +2484,7 @@ public class IOUtils {
      * 
      * @param input where to read input from
      * @param buffer destination
-     * @param offset inital offset into buffer
+     * @param offset initial offset into buffer
      * @param length length to read, must be >= 0
      * 
      * @throws IOException if there is a problem reading the file
@@ -2525,7 +2525,7 @@ public class IOUtils {
      * 
      * @param input where to read input from
      * @param buffer destination
-     * @param offset inital offset into buffer
+     * @param offset initial offset into buffer
      * @param length length to read, must be >= 0
      * 
      * @throws IOException if there is a problem reading the file

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/ThreadMonitor.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/ThreadMonitor.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/ThreadMonitor.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/ThreadMonitor.java Wed Oct
24 00:39:34 2012
@@ -17,9 +17,9 @@
 package org.apache.commons.io;
 
 /**
- * Monitors a thread, interrupting it of it reaches the specified timout.
+ * Monitors a thread, interrupting it if it reaches the specified timeout.
  * <p>
- * This works by sleeping until the specified timout amount and then
+ * This works by sleeping until the specified timeout amount and then
  * interrupting the thread being monitored. If the thread being monitored
  * completes its work before being interrupted, it should <code>interrupt()<code>
  * the <i>monitor</i> thread.
@@ -46,10 +46,10 @@ class ThreadMonitor implements Runnable 
     /**
      * Start monitoring the current thread.
      *
-     * @param timeout The timout amount in milliseconds
+     * @param timeout The timeout amount in milliseconds
      * or no timeout if the value is zero or less
      * @return The monitor thread or {@code null}
-     * if the timout amount is not greater than zero
+     * if the timeout amount is not greater than zero
      */
     public static Thread start(long timeout) {
         return start(Thread.currentThread(), timeout);
@@ -59,10 +59,10 @@ class ThreadMonitor implements Runnable 
      * Start monitoring the specified thread.
      *
      * @param thread The thread The thread to monitor
-     * @param timeout The timout amount in milliseconds
+     * @param timeout The timeout amount in milliseconds
      * or no timeout if the value is zero or less
      * @return The monitor thread or {@code null}
-     * if the timout amount is not greater than zero
+     * if the timeout amount is not greater than zero
      */
     public static Thread start(Thread thread, long timeout) {
         Thread monitor = null;
@@ -90,7 +90,7 @@ class ThreadMonitor implements Runnable 
      * Construct and new monitor.
      *
      * @param thread The thread to monitor
-     * @param timeout The timout amount in milliseconds
+     * @param timeout The timeout amount in milliseconds
      */
     private ThreadMonitor(Thread thread, long timeout) {
         this.thread = thread;
@@ -98,7 +98,7 @@ class ThreadMonitor implements Runnable 
     }
 
     /**
-     * Sleep until the specified timout amount and then
+     * Sleep until the specified timeout amount and then
      * interrupt the thread being monitored.
      *
      * @see Runnable#run()

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
Wed Oct 24 00:39:34 2012
@@ -28,7 +28,7 @@ import org.apache.commons.io.IOCase;
  * <p>
  * This comparator can be used to sort lists or arrays of files
  * by their file extension either in a case-sensitive, case-insensitive or
- * system dependant case sensitive way. A number of singleton instances
+ * system dependent case sensitive way. A number of singleton instances
  * are provided for the various case sensitivity options (using {@link IOCase})
  * and the reverse of those options.
  * <p>

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
Wed Oct 24 00:39:34 2012
@@ -26,7 +26,7 @@ import org.apache.commons.io.IOCase;
  * <p>
  * This comparator can be used to sort lists or arrays of files
  * by their name either in a case-sensitive, case-insensitive or
- * system dependant case sensitive way. A number of singleton instances
+ * system dependent case sensitive way. A number of singleton instances
  * are provided for the various case sensitivity options (using {@link IOCase})
  * and the reverse of those options.
  * <p>

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
Wed Oct 24 00:39:34 2012
@@ -26,7 +26,7 @@ import org.apache.commons.io.IOCase;
  * <p>
  * This comparator can be used to sort lists or arrays of files
  * by their path either in a case-sensitive, case-insensitive or
- * system dependant case sensitive way. A number of singleton instances
+ * system dependent case sensitive way. A number of singleton instances
  * are provided for the various case sensitivity options (using {@link IOCase})
  * and the reverse of those options.
  * <p>

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
Wed Oct 24 00:39:34 2012
@@ -42,7 +42,7 @@ public class TrueFileFilter implements I
     public static final IOFileFilter INSTANCE = TRUE;
 
     /**
-     * Restrictive consructor.
+     * Restrictive constructor.
      */
     protected TrueFileFilter() {
     }

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
Wed Oct 24 00:39:34 2012
@@ -163,7 +163,7 @@ public class ReversedLinesFileReader imp
             }
         }
 
-        // aligned behaviour wiht BufferedReader that doesn't return a last, emtpy line
+        // aligned behaviour with BufferedReader that doesn't return a last, empty line
         if("".equals(line) && !trailingNewlineOfFileSkipped) {
             trailingNewlineOfFileSkipped = true;
             line = readLine();

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
Wed Oct 24 00:39:34 2012
@@ -215,7 +215,7 @@ public class ByteArrayOutputStream exten
      * generating an <tt>IOException</tt>.
      *
      * @throws IOException never (this method should not declare this exception
-     * but it has to now due to backwards compatability)
+     * but it has to now due to backwards compatibility)
      */
     @Override
     public void close() throws IOException {

Modified: commons/proper/io/trunk/src/site/xdoc/mail-lists.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/mail-lists.xml?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/site/xdoc/mail-lists.xml (original)
+++ commons/proper/io/trunk/src/site/xdoc/mail-lists.xml Wed Oct 24 00:39:34 2012
@@ -149,7 +149,7 @@ limitations under the License.
           <td>
             <strong>Commons Commits List</strong>
             <br /><br />
-            Only for e-mails automatically generated by the <a href="source-repository.html">source
control</a> sytem.
+            Only for e-mails automatically generated by the <a href="source-repository.html">source
control</a> system.
             <br /><br />
           </td>
           <td><a href="mailto:commits-subscribe@commons.apache.org">Subscribe</a></td>

Modified: commons/proper/io/trunk/src/site/xdoc/upgradeto1_1.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/site/xdoc/upgradeto1_1.xml?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/site/xdoc/upgradeto1_1.xml (original)
+++ commons/proper/io/trunk/src/site/xdoc/upgradeto1_1.xml Wed Oct 24 00:39:34 2012
@@ -89,7 +89,7 @@ Bug fixes from 1.0
     Bytes from calls to this method were not previously counted
 
 - NullOutputStream  [33481]
-    Remove unecessary synchronization
+    Remove unnecessary synchronization
 
 - AbstractFileFilter - accept(File, String)  [30992]
     Fixed broken implementation

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCase.java
Wed Oct 24 00:39:34 2012
@@ -309,7 +309,7 @@ public class DirectoryWalkerTestCase {
             fail("IOException: " + cancelName + " " + ex);
         }
 
-        // Suppress CancelException (use same file name as preceeding test)
+        // Suppress CancelException (use same file name as preceding test)
         try {
             List<File> results = new TestCancelWalker(cancelName, true).find(javaDir);
             File lastFile = results.get(results.size() - 1);
@@ -352,7 +352,7 @@ public class DirectoryWalkerTestCase {
             fail("IOException: " + cancelName + " " + ex);
         }
         
-        // Suppress CancelException (use same file name as preceeding test)
+        // Suppress CancelException (use same file name as preceding test)
         try {
             walker = new TestMultiThreadCancelWalker(cancelName, true);
             List<File> results = walker.find(javaDir);

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java?rev=1401522&r1=1401521&r2=1401522&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/DirectoryWalkerTestCaseJava4.java
Wed Oct 24 00:39:34 2012
@@ -306,7 +306,7 @@ public class DirectoryWalkerTestCaseJava
             fail("IOException: " + cancelName + " " + ex);
         }
 
-        // Suppress CancelException (use same file name as preceeding test)
+        // Suppress CancelException (use same file name as preceding test)
         try {
             List results = new TestCancelWalker(cancelName, true).find(javaDir);
             File lastFile = (File) results.get(results.size() - 1);
@@ -348,7 +348,7 @@ public class DirectoryWalkerTestCaseJava
             fail("IOException: " + cancelName + " " + ex);
         }
         
-        // Suppress CancelException (use same file name as preceeding test)
+        // Suppress CancelException (use same file name as preceding test)
         try {
             walker = new TestMultiThreadCancelWalker(cancelName, true);
             List results = walker.find(javaDir);



Mime
View raw message