Standardize on US English spelling (recognised -> recognized.) git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/COLLECTIONS_3_2_X@1744817 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/7fd216b4 Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/7fd216b4 Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/7fd216b4 Branch: refs/heads/COLLECTIONS_3_2_X Commit: 7fd216b4729f0cdddbe9e704f14f98462bbf1092 Parents: 0af1674 Author: Gary D. Gregory <ggreg...@apache.org> Authored: Fri May 20 23:52:06 2016 +0000 Committer: Gary D. Gregory <ggreg...@apache.org> Committed: Fri May 20 23:52:06 2016 +0000 ---------------------------------------------------------------------- src/java/org/apache/commons/collections/CollectionUtils.java | 4 ++-- .../commons/collections/comparators/FixedOrderComparator.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-collections/blob/7fd216b4/src/java/org/apache/commons/collections/CollectionUtils.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/CollectionUtils.java b/src/java/org/apache/commons/collections/CollectionUtils.java index 3abcd3d..23b1682 100644 --- a/src/java/org/apache/commons/collections/CollectionUtils.java +++ b/src/java/org/apache/commons/collections/CollectionUtils.java @@ -888,7 +888,7 @@ public class CollectionUtils { * * @param object the object to get the size of * @return the size of the specified collection - * @throws IllegalArgumentException thrown if object is not recognised or null + * @throws IllegalArgumentException thrown if object is not recognized or null * @since Commons Collections 3.1 */ public static int size(Object object) { @@ -940,7 +940,7 @@ public class CollectionUtils { * * @param object the object to get the size of, not null * @return true if empty - * @throws IllegalArgumentException thrown if object is not recognised or null + * @throws IllegalArgumentException thrown if object is not recognized or null * @since Commons Collections 3.2 */ public static boolean sizeIsEmpty(Object object) { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/7fd216b4/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java b/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java index a891486..59b0284 100644 --- a/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java +++ b/src/java/org/apache/commons/collections/comparators/FixedOrderComparator.java @@ -172,7 +172,7 @@ public class FixedOrderComparator implements Comparator { if (unknownObjectBehavior != UNKNOWN_AFTER && unknownObjectBehavior != UNKNOWN_BEFORE && unknownObjectBehavior != UNKNOWN_THROW_EXCEPTION) { - throw new IllegalArgumentException("Unrecognised value for unknown behaviour flag"); + throw new IllegalArgumentException("Unrecognized value for unknown behaviour flag"); } this.unknownObjectBehavior = unknownObjectBehavior; } @@ -224,7 +224,7 @@ public class FixedOrderComparator implements Comparator { * 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