You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/05/20 23:37:45 UTC

svn commit: r1744813 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4: CollectionUtils.java comparators/FixedOrderComparator.java

Author: ggregory
Date: Fri May 20 23:37:45 2016
New Revision: 1744813

URL: http://svn.apache.org/viewvc?rev=1744813&view=rev
Log:
Standardize on US English spelling (recognised -> recognized.)

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java?rev=1744813&r1=1744812&r2=1744813&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/CollectionUtils.java Fri May 20 23:37:45 2016
@@ -1364,7 +1364,7 @@ public class CollectionUtils {
      *
      * @param object  the object to get the size of, may be null
      * @return true if empty or null
-     * @throws IllegalArgumentException thrown if object is not recognised
+     * @throws IllegalArgumentException thrown if object is not recognized
      * @since 3.2
      */
     public static boolean sizeIsEmpty(final Object object) {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java?rev=1744813&r1=1744812&r2=1744813&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java Fri May 20 23:37:45 2016
@@ -214,7 +214,7 @@ public class FixedOrderComparator<T> imp
      * Compares two objects according to the order of this Comparator.
      * <p>
      * It is important to note that this class will throw an IllegalArgumentException
-     * in the case of an unrecognised object. This is not specified in the
+     * in the case of an unrecognized object. This is not specified in the
      * Comparator interface, but is the most appropriate exception.
      *
      * @param obj1  the first object to compare