Repository: commons-lang
Updated Branches:
  refs/heads/master 3415c02e7 -> b155e6461


fix typos in comments and javadoc.


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

Branch: refs/heads/master
Commit: db12f89ad2e153d8494a92ee3a50a23faeb14912
Parents: 3415c02
Author: Andrii <aabra...@gmail.com>
Authored: Tue Nov 22 23:01:01 2016 +0200
Committer: Andrii <aabra...@gmail.com>
Committed: Tue Nov 22 23:01:01 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/ArrayUtils.java | 18 +++++++++---------
 .../org/apache/commons/lang3/ArrayUtilsTest.java  | 18 +++++++++---------
 .../lang3/concurrent/BasicThreadFactoryTest.java  |  2 +-
 3 files changed, 19 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/db12f89a/src/main/java/org/apache/commons/lang3/ArrayUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/ArrayUtils.java 
b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
index 2c3c0a4..ebb47a8 100644
--- a/src/main/java/org/apache/commons/lang3/ArrayUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
@@ -3241,7 +3241,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param objectToFind  the object to find, may be {@code null}
      * @return the last index of the object within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -3352,7 +3352,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -3455,7 +3455,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -3558,7 +3558,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -3663,7 +3663,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -3769,7 +3769,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -3923,7 +3923,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -4096,7 +4096,7 @@ public class ArrayUtils {
      *
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a 
{@code null} input array.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input
@@ -4201,7 +4201,7 @@ public class ArrayUtils {
      * <p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) if
      * {@code null} array input.
      *
-     * @param array  the array to travers backwords looking for the object, 
may be {@code null}
+     * @param array  the array to travers backwards looking for the object, 
may be {@code null}
      * @param valueToFind  the object to find
      * @return the last index of the value within the array,
      *  {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} 
array input

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/db12f89a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
index de61700..06ded81 100644
--- a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
@@ -1858,7 +1858,7 @@ public class ArrayUtilsTest  {
         assertTrue(array[0]);
         assertFalse(array[1]);
         assertFalse(array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new boolean[] {false, false, true};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertTrue(array[0]);
@@ -1890,7 +1890,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0]);
         assertEquals(2, array[1]);
         assertEquals(1, array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new byte[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0]);
@@ -1922,7 +1922,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0]);
         assertEquals(2, array[1]);
         assertEquals(1, array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new char[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0]);
@@ -1954,7 +1954,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0], 0);
         assertEquals(2, array[1], 0);
         assertEquals(1, array[2], 0);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new double[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0], 0);
@@ -1986,7 +1986,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0], 0);
         assertEquals(2, array[1], 0);
         assertEquals(1, array[2], 0);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new float[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0], 0);
@@ -2018,7 +2018,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0]);
         assertEquals(2, array[1]);
         assertEquals(1, array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new int[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0]);
@@ -2050,7 +2050,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0]);
         assertEquals(2, array[1]);
         assertEquals(1, array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new long[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0]);
@@ -2082,7 +2082,7 @@ public class ArrayUtilsTest  {
         assertEquals(3, array[0]);
         assertEquals(2, array[1]);
         assertEquals(1, array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new short[] {1, 2, 3};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals(3, array[0]);
@@ -2114,7 +2114,7 @@ public class ArrayUtilsTest  {
         assertEquals("3", array[0]);
         assertEquals("2", array[1]);
         assertEquals("1", array[2]);
-        // a range with a large stop idnex
+        // a range with a large stop index
         array = new String[] {"1", "2", "3"};
         ArrayUtils.reverse(array, -1, array.length + 1000);
         assertEquals("3", array[0]);

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/db12f89a/src/test/java/org/apache/commons/lang3/concurrent/BasicThreadFactoryTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/lang3/concurrent/BasicThreadFactoryTest.java 
b/src/test/java/org/apache/commons/lang3/concurrent/BasicThreadFactoryTest.java
index 5aa1833..8c9274b 100644
--- 
a/src/test/java/org/apache/commons/lang3/concurrent/BasicThreadFactoryTest.java
+++ 
b/src/test/java/org/apache/commons/lang3/concurrent/BasicThreadFactoryTest.java
@@ -278,7 +278,7 @@ public class BasicThreadFactoryTest {
     }
 
     /**
-     * Tests whether the original exception hander is not touched if none is
+     * Tests whether the original exception handler is not touched if none is
      * specified.
      */
     @Test

Reply via email to