This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git


The following commit(s) were added to refs/heads/master by this push:
     new a6d53a7  Standardize on American English spelling of 'behavior'.
a6d53a7 is described below

commit a6d53a7649dcc82c44738a517b44422b61696b1d
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Mar 30 10:48:32 2020 -0400

    Standardize on American English spelling of 'behavior'.
---
 PROPOSAL.html                                                     | 2 +-
 src/main/java/org/apache/commons/collections4/ArrayUtils.java     | 2 +-
 src/main/java/org/apache/commons/collections4/BagUtils.java       | 4 ++--
 .../java/org/apache/commons/collections4/CollectionUtils.java     | 2 +-
 src/main/java/org/apache/commons/collections4/ListUtils.java      | 4 ++--
 src/main/java/org/apache/commons/collections4/MapUtils.java       | 8 ++++----
 src/main/java/org/apache/commons/collections4/MultiMapUtils.java  | 2 +-
 src/main/java/org/apache/commons/collections4/PredicateUtils.java | 6 +++---
 src/main/java/org/apache/commons/collections4/QueueUtils.java     | 2 +-
 src/main/java/org/apache/commons/collections4/SetUtils.java       | 6 +++---
 .../org/apache/commons/collections4/bag/AbstractBagDecorator.java | 2 +-
 .../commons/collections4/bag/AbstractSortedBagDecorator.java      | 2 +-
 .../java/org/apache/commons/collections4/bag/SynchronizedBag.java | 2 +-
 .../apache/commons/collections4/bag/SynchronizedSortedBag.java    | 2 +-
 .../org/apache/commons/collections4/bidimap/DualTreeBidiMap.java  | 2 +-
 .../commons/collections4/bloomfilter/BloomFilterIndexer.java      | 4 ++--
 .../collections4/collection/AbstractCollectionDecorator.java      | 4 ++--
 .../commons/collections4/collection/SynchronizedCollection.java   | 2 +-
 .../apache/commons/collections4/comparators/ComparatorChain.java  | 2 +-
 .../commons/collections4/comparators/FixedOrderComparator.java    | 4 ++--
 .../commons/collections4/iterators/AbstractIteratorDecorator.java | 2 +-
 .../collections4/iterators/AbstractListIteratorDecorator.java     | 2 +-
 .../collections4/iterators/AbstractMapIteratorDecorator.java      | 2 +-
 .../iterators/AbstractOrderedMapIteratorDecorator.java            | 2 +-
 .../collections4/iterators/AbstractUntypedIteratorDecorator.java  | 2 +-
 .../org/apache/commons/collections4/list/AbstractLinkedList.java  | 2 +-
 .../apache/commons/collections4/list/AbstractListDecorator.java   | 2 +-
 .../apache/commons/collections4/list/CursorableLinkedList.java    | 4 ++--
 .../java/org/apache/commons/collections4/list/GrowthList.java     | 6 +++---
 src/main/java/org/apache/commons/collections4/list/LazyList.java  | 2 +-
 .../java/org/apache/commons/collections4/list/SetUniqueList.java  | 4 ++--
 .../org/apache/commons/collections4/map/AbstractHashedMap.java    | 2 +-
 .../org/apache/commons/collections4/map/AbstractLinkedMap.java    | 2 +-
 .../org/apache/commons/collections4/map/AbstractReferenceMap.java | 2 +-
 .../java/org/apache/commons/collections4/map/DefaultedMap.java    | 2 +-
 src/main/java/org/apache/commons/collections4/map/LRUMap.java     | 2 +-
 .../java/org/apache/commons/collections4/map/MultiKeyMap.java     | 2 +-
 .../collections4/multimap/AbstractMultiValuedMapDecorator.java    | 4 ++--
 .../commons/collections4/multiset/AbstractMultiSetDecorator.java  | 2 +-
 .../commons/collections4/multiset/SynchronizedMultiSet.java       | 2 +-
 src/main/java/org/apache/commons/collections4/overview.html       | 2 +-
 .../apache/commons/collections4/queue/AbstractQueueDecorator.java | 2 +-
 .../org/apache/commons/collections4/queue/SynchronizedQueue.java  | 2 +-
 .../commons/collections4/set/AbstractNavigableSetDecorator.java   | 2 +-
 .../org/apache/commons/collections4/set/AbstractSetDecorator.java | 2 +-
 .../commons/collections4/set/AbstractSortedSetDecorator.java      | 2 +-
 .../java/org/apache/commons/collections4/set/ListOrderedSet.java  | 2 +-
 .../java/org/apache/commons/collections4/set/MapBackedSet.java    | 2 +-
 src/site/xdoc/proposal.xml                                        | 2 +-
 src/site/xdoc/security-reports.xml                                | 2 +-
 .../commons/collections4/bloomfilter/BloomFilterIndexerTest.java  | 4 ++--
 .../commons/collections4/iterators/AbstractIteratorTest.java      | 4 ++--
 .../commons/collections4/iterators/AbstractListIteratorTest.java  | 6 +++---
 .../commons/collections4/keyvalue/AbstractMapEntryTest.java       | 2 +-
 .../org/apache/commons/collections4/list/SetUniqueListTest.java   | 6 +++---
 55 files changed, 78 insertions(+), 78 deletions(-)

diff --git a/PROPOSAL.html b/PROPOSAL.html
index 822f573..2f10130 100644
--- a/PROPOSAL.html
+++ b/PROPOSAL.html
@@ -34,7 +34,7 @@
 <p>
    Many Jakarta projects have needs or design criteria that extend
    beyond the core Collections API, such as introducing new abstract
-   data types (e.g., Avalon's BinaryHeap) or changing the behaviour of
+   data types (e.g., Avalon's BinaryHeap) or changing the behavior of
    existing abstract data types (e.g., Struts' FastHashMap).
 </p>
 <p>
diff --git a/src/main/java/org/apache/commons/collections4/ArrayUtils.java 
b/src/main/java/org/apache/commons/collections4/ArrayUtils.java
index 696fd89..6ce8be5 100644
--- a/src/main/java/org/apache/commons/collections4/ArrayUtils.java
+++ b/src/main/java/org/apache/commons/collections4/ArrayUtils.java
@@ -24,7 +24,7 @@ package org.apache.commons.collections4;
  * <p>
  * This class tries to handle {@code null} input gracefully. An exception will 
not be thrown for a {@code null} array
  * input. However, an Object array that contains a {@code null} element may 
throw an exception. Each method documents
- * its behaviour.
+ * its behavior.
  * </p>
  * <p>
  * Package private, might move to an internal package if this needs to be 
public.
diff --git a/src/main/java/org/apache/commons/collections4/BagUtils.java 
b/src/main/java/org/apache/commons/collections4/BagUtils.java
index b5da468..9b94152 100644
--- a/src/main/java/org/apache/commons/collections4/BagUtils.java
+++ b/src/main/java/org/apache/commons/collections4/BagUtils.java
@@ -127,7 +127,7 @@ public class BagUtils {
      * </p>
      * <p>
      * Existing entries in the specified bag will not be transformed.
-     * If you want that behaviour, see {@link 
TransformedBag#transformedBag(Bag, Transformer)}.
+     * If you want that behavior, see {@link 
TransformedBag#transformedBag(Bag, Transformer)}.
      * </p>
      *
      * @param <E> the element type
@@ -230,7 +230,7 @@ public class BagUtils {
      * </p>
      * <p>
      * Existing entries in the specified bag will not be transformed.
-     * If you want that behaviour, see
+     * If you want that behavior, see
      * {@link TransformedSortedBag#transformedSortedBag(SortedBag, 
Transformer)}.
      * </p>
      *
diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java 
b/src/main/java/org/apache/commons/collections4/CollectionUtils.java
index 9395dc8..b3ae7cf 100644
--- a/src/main/java/org/apache/commons/collections4/CollectionUtils.java
+++ b/src/main/java/org/apache/commons/collections4/CollectionUtils.java
@@ -1994,7 +1994,7 @@ public class CollectionUtils {
      * </p>
      * <p>
      * Existing entries in the specified collection will not be transformed.
-     * If you want that behaviour, see {@link 
TransformedCollection#transformedCollection}.
+     * If you want that behavior, see {@link 
TransformedCollection#transformedCollection}.
      * </p>
      *
      * @param <E> the type of object the {@link Collection} contains
diff --git a/src/main/java/org/apache/commons/collections4/ListUtils.java 
b/src/main/java/org/apache/commons/collections4/ListUtils.java
index 30ce1ce..624beba 100644
--- a/src/main/java/org/apache/commons/collections4/ListUtils.java
+++ b/src/main/java/org/apache/commons/collections4/ListUtils.java
@@ -227,7 +227,7 @@ public class ListUtils {
      * different implementations of the {@code List} interface.
      * </blockquote>
      *
-     * <b>Note:</b> The behaviour of this method is undefined if the lists are
+     * <b>Note:</b> The behavior of this method is undefined if the lists are
      * modified during the equals comparison.
      *
      * @see java.util.List
@@ -425,7 +425,7 @@ public class ListUtils {
      * method, as it is a backdoor for adding untransformed objects.
      * <p>
      * Existing entries in the specified list will not be transformed.
-     * If you want that behaviour, see {@link TransformedList#transformedList}.
+     * If you want that behavior, see {@link TransformedList#transformedList}.
      *
      * @param <E> the element type
      * @param list  the list to predicate, must not be null
diff --git a/src/main/java/org/apache/commons/collections4/MapUtils.java 
b/src/main/java/org/apache/commons/collections4/MapUtils.java
index b89c404..e73474e 100644
--- a/src/main/java/org/apache/commons/collections4/MapUtils.java
+++ b/src/main/java/org/apache/commons/collections4/MapUtils.java
@@ -153,7 +153,7 @@ public class MapUtils {
      * Prints the given map with nice line breaks.
      * <p>
      * This method prints a nicely formatted String describing the Map. Each 
map entry will be printed with key, value
-     * and value classname. When the value is a Map, recursive behaviour 
occurs.
+     * and value classname. When the value is a Map, recursive behavior occurs.
      * </p>
      * <p>
      * This method is NOT thread-safe in any special way. You must manually 
synchronize on either this class or the
@@ -1857,7 +1857,7 @@ public class MapUtils {
      * Returns a transformed map backed by the given map.
      * <p>
      * This method returns a new map (decorating the specified map) that will 
transform any new entries added to it.
-     * Existing entries in the specified map will not be transformed. If you 
want that behaviour, see
+     * Existing entries in the specified map will not be transformed. If you 
want that behavior, see
      * {@link TransformedMap#transformedMap}.
      * </p>
      * <p>
@@ -1886,7 +1886,7 @@ public class MapUtils {
      * Returns a transformed sorted map backed by the given map.
      * <p>
      * This method returns a new sorted map (decorating the specified map) 
that will transform any new entries added to
-     * it. Existing entries in the specified map will not be transformed. If 
you want that behaviour, see
+     * it. Existing entries in the specified map will not be transformed. If 
you want that behavior, see
      * {@link TransformedSortedMap#transformedSortedMap}.
      * </p>
      * <p>
@@ -1949,7 +1949,7 @@ public class MapUtils {
      * Prints the given map with nice line breaks.
      * <p>
      * This method prints a nicely formatted String describing the Map. Each 
map entry will be printed with key and
-     * value. When the value is a Map, recursive behaviour occurs.
+     * value. When the value is a Map, recursive behavior occurs.
      * </p>
      * <p>
      * This method is NOT thread-safe in any special way. You must manually 
synchronize on either this class or the
diff --git a/src/main/java/org/apache/commons/collections4/MultiMapUtils.java 
b/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
index 9c69535..17db98f 100644
--- a/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
+++ b/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
@@ -228,7 +228,7 @@ public class MultiMapUtils {
      * This method returns a new {@code MultiValuedMap} (decorating the
      * specified map) that will transform any new entries added to it. Existing
      * entries in the specified map will not be transformed. If you want that
-     * behaviour, see {@link TransformedMultiValuedMap#transformedMap}.
+     * behavior, see {@link TransformedMultiValuedMap#transformedMap}.
      * <p>
      * Each object is passed through the transformers as it is added to the 
Map.
      * It is important not to use the original map after invoking this method,
diff --git a/src/main/java/org/apache/commons/collections4/PredicateUtils.java 
b/src/main/java/org/apache/commons/collections4/PredicateUtils.java
index 8dd5d0f..c381de3 100644
--- a/src/main/java/org/apache/commons/collections4/PredicateUtils.java
+++ b/src/main/java/org/apache/commons/collections4/PredicateUtils.java
@@ -475,7 +475,7 @@ public class PredicateUtils {
     /**
      * Gets a Predicate that throws an exception if the input object is null,
      * otherwise it calls the specified Predicate. This allows null handling
-     * behaviour to be added to Predicates that don't support nulls.
+     * behavior to be added to Predicates that don't support nulls.
      *
      * @param <T>  the type that the predicate queries
      * @param predicate  the predicate to wrap, may not be null
@@ -489,7 +489,7 @@ public class PredicateUtils {
 
     /**
      * Gets a Predicate that returns false if the input object is null, 
otherwise
-     * it calls the specified Predicate. This allows null handling behaviour to
+     * it calls the specified Predicate. This allows null handling behavior to
      * be added to Predicates that don't support nulls.
      *
      * @param <T>  the type that the predicate queries
@@ -504,7 +504,7 @@ public class PredicateUtils {
 
     /**
      * Gets a Predicate that returns true if the input object is null, 
otherwise
-     * it calls the specified Predicate. This allows null handling behaviour to
+     * it calls the specified Predicate. This allows null handling behavior to
      * be added to Predicates that don't support nulls.
      *
      * @param <T>  the type that the predicate queries
diff --git a/src/main/java/org/apache/commons/collections4/QueueUtils.java 
b/src/main/java/org/apache/commons/collections4/QueueUtils.java
index 27d8c3d..ffcfbd4 100644
--- a/src/main/java/org/apache/commons/collections4/QueueUtils.java
+++ b/src/main/java/org/apache/commons/collections4/QueueUtils.java
@@ -113,7 +113,7 @@ public class QueueUtils {
      * method, as it is a backdoor for adding untransformed objects.
      * <p>
      * Existing entries in the specified queue will not be transformed.
-     * If you want that behaviour, see {@link 
TransformedQueue#transformedQueue}.
+     * If you want that behavior, see {@link 
TransformedQueue#transformedQueue}.
      *
      * @param <E> the type of the elements in the queue
      * @param queue  the queue to predicate, must not be null
diff --git a/src/main/java/org/apache/commons/collections4/SetUtils.java 
b/src/main/java/org/apache/commons/collections4/SetUtils.java
index 3b833af..49d57b3 100644
--- a/src/main/java/org/apache/commons/collections4/SetUtils.java
+++ b/src/main/java/org/apache/commons/collections4/SetUtils.java
@@ -494,7 +494,7 @@ public class SetUtils {
      * method, as it is a backdoor for adding untransformed objects.
      * <p>
      * Existing entries in the specified set will not be transformed.
-     * If you want that behaviour, see {@link 
TransformedNavigableSet#transformedNavigableSet}.
+     * If you want that behavior, see {@link 
TransformedNavigableSet#transformedNavigableSet}.
      *
      * @param <E> the element type
      * @param set  the navigable set to transform, must not be null
@@ -516,7 +516,7 @@ public class SetUtils {
      * method, as it is a backdoor for adding untransformed objects.
      * <p>
      * Existing entries in the specified set will not be transformed.
-     * If you want that behaviour, see {@link TransformedSet#transformedSet}.
+     * If you want that behavior, see {@link TransformedSet#transformedSet}.
      *
      * @param <E> the element type
      * @param set  the set to transform, must not be null
@@ -537,7 +537,7 @@ public class SetUtils {
      * method, as it is a backdoor for adding untransformed objects.
      * <p>
      * Existing entries in the specified set will not be transformed.
-     * If you want that behaviour, see {@link 
TransformedSortedSet#transformedSortedSet}.
+     * If you want that behavior, see {@link 
TransformedSortedSet#transformedSortedSet}.
      *
      * @param <E> the element type
      * @param set  the set to transform, must not be null
diff --git 
a/src/main/java/org/apache/commons/collections4/bag/AbstractBagDecorator.java 
b/src/main/java/org/apache/commons/collections4/bag/AbstractBagDecorator.java
index 3d4bf60..0e1d7c6 100644
--- 
a/src/main/java/org/apache/commons/collections4/bag/AbstractBagDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/bag/AbstractBagDecorator.java
@@ -22,7 +22,7 @@ import org.apache.commons.collections4.Bag;
 import org.apache.commons.collections4.collection.AbstractCollectionDecorator;
 
 /**
- * Decorates another {@code Bag} to provide additional behaviour.
+ * Decorates another {@code Bag} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated bag.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/bag/AbstractSortedBagDecorator.java
 
b/src/main/java/org/apache/commons/collections4/bag/AbstractSortedBagDecorator.java
index 1682b56..b2f2455 100644
--- 
a/src/main/java/org/apache/commons/collections4/bag/AbstractSortedBagDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/bag/AbstractSortedBagDecorator.java
@@ -21,7 +21,7 @@ import java.util.Comparator;
 import org.apache.commons.collections4.SortedBag;
 
 /**
- * Decorates another {@code SortedBag} to provide additional behaviour.
+ * Decorates another {@code SortedBag} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated bag.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/bag/SynchronizedBag.java 
b/src/main/java/org/apache/commons/collections4/bag/SynchronizedBag.java
index c1ca582..031d31d 100644
--- a/src/main/java/org/apache/commons/collections4/bag/SynchronizedBag.java
+++ b/src/main/java/org/apache/commons/collections4/bag/SynchronizedBag.java
@@ -22,7 +22,7 @@ import org.apache.commons.collections4.Bag;
 import org.apache.commons.collections4.collection.SynchronizedCollection;
 
 /**
- * Decorates another {@link Bag} to synchronize its behaviour
+ * Decorates another {@link Bag} to synchronize its behavior
  * for a multi-threaded environment.
  * <p>
  * Methods are synchronized, then forwarded to the decorated bag.
diff --git 
a/src/main/java/org/apache/commons/collections4/bag/SynchronizedSortedBag.java 
b/src/main/java/org/apache/commons/collections4/bag/SynchronizedSortedBag.java
index 5e4e45f..893b094 100644
--- 
a/src/main/java/org/apache/commons/collections4/bag/SynchronizedSortedBag.java
+++ 
b/src/main/java/org/apache/commons/collections4/bag/SynchronizedSortedBag.java
@@ -22,7 +22,7 @@ import org.apache.commons.collections4.Bag;
 import org.apache.commons.collections4.SortedBag;
 
 /**
- * Decorates another {@link SortedBag} to synchronize its behaviour
+ * Decorates another {@link SortedBag} to synchronize its behavior
  * for a multi-threaded environment.
  * <p>
  * Methods are synchronized, then forwarded to the decorated bag.
diff --git 
a/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java 
b/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java
index 78c2584..e0bd5cf 100644
--- a/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java
+++ b/src/main/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap.java
@@ -190,7 +190,7 @@ public class DualTreeBidiMap<K, V> extends 
AbstractDualBidiMap<K, V>
      * Obtains an ordered map iterator.
      * <p>
      * This implementation copies the elements to an ArrayList in order to
-     * provide the forward/backward behaviour.
+     * provide the forward/backward behavior.
      *
      * @return a new ordered map iterator
      */
diff --git 
a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexer.java
 
b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexer.java
index 7066a65..87037e7 100644
--- 
a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexer.java
+++ 
b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexer.java
@@ -45,7 +45,7 @@ final class BloomFilterIndexer {
      * <p>The index is assumed to be positive. For a positive index the result 
will match
      * {@code bitIndex / 64}.
      *
-     * <p>The divide is performed using bit shifts. If the input is negative 
the behaviour
+     * <p>The divide is performed using bit shifts. If the input is negative 
the behavior
      * is not defined.
      *
      * @param bitIndex the bit index (assumed to be positive)
@@ -68,7 +68,7 @@ final class BloomFilterIndexer {
      * <p>The index is assumed to be positive. For a positive index the result 
will match
      * {@code 1L << (bitIndex % 64)}.
      *
-     * <p>If the input is negative the behaviour is not defined.
+     * <p>If the input is negative the behavior is not defined.
      *
      * @param bitIndex the bit index (assumed to be positive)
      * @return the filter bit
diff --git 
a/src/main/java/org/apache/commons/collections4/collection/AbstractCollectionDecorator.java
 
b/src/main/java/org/apache/commons/collections4/collection/AbstractCollectionDecorator.java
index 7b58c8e..c34ed43 100644
--- 
a/src/main/java/org/apache/commons/collections4/collection/AbstractCollectionDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/collection/AbstractCollectionDecorator.java
@@ -23,11 +23,11 @@ import java.util.Objects;
 import java.util.function.Predicate;
 
 /**
- * Decorates another {@code Collection} to provide additional behaviour.
+ * Decorates another {@code Collection} to provide additional behavior.
  * <p>
  * Each method call made on this {@code Collection} is forwarded to the
  * decorated {@code Collection}. This class is used as a framework on which
- * to build to extensions such as synchronized and unmodifiable behaviour. The
+ * to build to extensions such as synchronized and unmodifiable behavior. The
  * main advantage of decoration is that one decorator can wrap any 
implementation
  * of {@code Collection}, whereas sub-classing requires a new class to be
  * written for each implementation.
diff --git 
a/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java
 
b/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java
index 635543d..5304895 100644
--- 
a/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java
+++ 
b/src/main/java/org/apache/commons/collections4/collection/SynchronizedCollection.java
@@ -23,7 +23,7 @@ import java.util.Objects;
 import java.util.function.Predicate;
 
 /**
- * Decorates another {@link Collection} to synchronize its behaviour
+ * Decorates another {@link Collection} to synchronize its behavior
  * for a multi-threaded environment.
  * <p>
  * Iterators must be manually synchronized:
diff --git 
a/src/main/java/org/apache/commons/collections4/comparators/ComparatorChain.java
 
b/src/main/java/org/apache/commons/collections4/comparators/ComparatorChain.java
index 83ff884..2ebfe88 100644
--- 
a/src/main/java/org/apache/commons/collections4/comparators/ComparatorChain.java
+++ 
b/src/main/java/org/apache/commons/collections4/comparators/ComparatorChain.java
@@ -29,7 +29,7 @@ import java.util.List;
  * 1) any single Comparator returns a non-zero result (and that result is then
  * returned), or 2) the ComparatorChain is exhausted (and zero is returned).
  * This type of sorting is very similar to multi-column sorting in SQL, and 
this
- * class allows Java classes to emulate that kind of behaviour when sorting a
+ * class allows Java classes to emulate that kind of behavior when sorting a
  * List.
  * <p>
  * To further facilitate SQL-like sorting, the order of any single Comparator 
in
diff --git 
a/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java
 
b/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java
index c03a80b..2611803 100644
--- 
a/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java
+++ 
b/src/main/java/org/apache/commons/collections4/comparators/FixedOrderComparator.java
@@ -72,7 +72,7 @@ public class FixedOrderComparator<T> implements 
Comparator<T>, Serializable {
     /** Is the comparator locked against further change */
     private boolean isLocked = false;
 
-    /** The behaviour in the case of an unknown object */
+    /** The behavior in the case of an unknown object */
     private UnknownObjectBehavior unknownObjectBehavior = 
UnknownObjectBehavior.EXCEPTION;
 
     // Constructors
@@ -152,7 +152,7 @@ public class FixedOrderComparator<T> implements 
Comparator<T>, Serializable {
     /**
      * Sets the behavior for comparing unknown objects.
      *
-     * @param unknownObjectBehavior  the flag for unknown behaviour -
+     * @param unknownObjectBehavior  the flag for unknown behavior -
      * UNKNOWN_AFTER, UNKNOWN_BEFORE or UNKNOWN_THROW_EXCEPTION
      * @throws UnsupportedOperationException if a comparison has been performed
      * @throws NullPointerException if unknownObjectBehavior is null
diff --git 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractIteratorDecorator.java
 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractIteratorDecorator.java
index e7208a8..7b495d6 100644
--- 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractIteratorDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractIteratorDecorator.java
@@ -19,7 +19,7 @@ package org.apache.commons.collections4.iterators;
 import java.util.Iterator;
 
 /**
- * Provides basic behaviour for decorating an iterator with extra 
functionality.
+ * Provides basic behavior for decorating an iterator with extra functionality.
  * <p>
  * All methods are forwarded to the decorated iterator.
  *
diff --git 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractListIteratorDecorator.java
 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractListIteratorDecorator.java
index 94f84f6..a2a163e 100644
--- 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractListIteratorDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractListIteratorDecorator.java
@@ -20,7 +20,7 @@ import java.util.ListIterator;
 import java.util.Objects;
 
 /**
- * Provides basic behaviour for decorating a list iterator with extra 
functionality.
+ * Provides basic behavior for decorating a list iterator with extra 
functionality.
  * <p>
  * All methods are forwarded to the decorated list iterator.
  *
diff --git 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractMapIteratorDecorator.java
 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractMapIteratorDecorator.java
index ef41441..a7a105c 100644
--- 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractMapIteratorDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractMapIteratorDecorator.java
@@ -21,7 +21,7 @@ import java.util.Objects;
 import org.apache.commons.collections4.MapIterator;
 
 /**
- * Provides basic behaviour for decorating a map iterator with extra 
functionality.
+ * Provides basic behavior for decorating a map iterator with extra 
functionality.
  * <p>
  * All methods are forwarded to the decorated map iterator.
  *
diff --git 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorDecorator.java
 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorDecorator.java
index 8f98115..686335f 100644
--- 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractOrderedMapIteratorDecorator.java
@@ -21,7 +21,7 @@ import java.util.Objects;
 import org.apache.commons.collections4.OrderedMapIterator;
 
 /**
- * Provides basic behaviour for decorating an ordered map iterator with extra 
functionality.
+ * Provides basic behavior for decorating an ordered map iterator with extra 
functionality.
  * <p>
  * All methods are forwarded to the decorated map iterator.
  *
diff --git 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractUntypedIteratorDecorator.java
 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractUntypedIteratorDecorator.java
index b3b38e2..ae0ca71 100644
--- 
a/src/main/java/org/apache/commons/collections4/iterators/AbstractUntypedIteratorDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/iterators/AbstractUntypedIteratorDecorator.java
@@ -20,7 +20,7 @@ import java.util.Iterator;
 import java.util.Objects;
 
 /**
- * Provides basic behaviour for decorating an iterator with extra functionality
+ * Provides basic behavior for decorating an iterator with extra functionality
  * without committing the generic type of the Iterator implementation.
  * <p>
  * All methods are forwarded to the decorated iterator.
diff --git 
a/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java 
b/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java
index 6eebc37..dae0eb6 100644
--- a/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java
+++ b/src/main/java/org/apache/commons/collections4/list/AbstractLinkedList.java
@@ -784,7 +784,7 @@ public abstract class AbstractLinkedList<E> implements 
List<E> {
          * #previous()} haven't been called, or if the node has been removed
          * with {@link #remove()} or a new node added with {@link 
#add(Object)}.
          * Should be accessed through {@link #getLastNodeReturned()} to enforce
-         * this behaviour.
+         * this behavior.
          */
         protected Node<E> current;
 
diff --git 
a/src/main/java/org/apache/commons/collections4/list/AbstractListDecorator.java 
b/src/main/java/org/apache/commons/collections4/list/AbstractListDecorator.java
index de9fb29..106b11b 100644
--- 
a/src/main/java/org/apache/commons/collections4/list/AbstractListDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/list/AbstractListDecorator.java
@@ -23,7 +23,7 @@ import java.util.ListIterator;
 import org.apache.commons.collections4.collection.AbstractCollectionDecorator;
 
 /**
- * Decorates another {@link List} to provide additional behaviour.
+ * Decorates another {@link List} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated list.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/list/CursorableLinkedList.java 
b/src/main/java/org/apache/commons/collections4/list/CursorableLinkedList.java
index e2d8cc0..5349c87 100644
--- 
a/src/main/java/org/apache/commons/collections4/list/CursorableLinkedList.java
+++ 
b/src/main/java/org/apache/commons/collections4/list/CursorableLinkedList.java
@@ -42,7 +42,7 @@ import java.util.ListIterator;
  * methods provides access to a {@code Cursor} instance which extends
  * {@code ListIterator}. The cursor allows changes to the list concurrent
  * with changes to the iterator. Note that the {@link #iterator()} method and
- * sublists do <b>not</b> provide this cursor behaviour.
+ * sublists do <b>not</b> provide this cursor behavior.
  * </p>
  * <p>
  * The {@code Cursor} class is provided partly for backwards compatibility
@@ -100,7 +100,7 @@ public class CursorableLinkedList<E> extends 
AbstractLinkedList<E> implements Se
      * <p>
      * If the underlying list is modified while iterating using this iterator
      * a ConcurrentModificationException will occur.
-     * The cursor behaviour is available via {@link #listIterator()}.
+     * The cursor behavior is available via {@link #listIterator()}.
      *
      * @return a new iterator that does <b>not</b> support concurrent 
modification
      */
diff --git a/src/main/java/org/apache/commons/collections4/list/GrowthList.java 
b/src/main/java/org/apache/commons/collections4/list/GrowthList.java
index 4ade5d1..7dce0d9 100644
--- a/src/main/java/org/apache/commons/collections4/list/GrowthList.java
+++ b/src/main/java/org/apache/commons/collections4/list/GrowthList.java
@@ -105,7 +105,7 @@ public class GrowthList<E> extends 
AbstractSerializableListDecorator<E> {
 
     //-----------------------------------------------------------------------
     /**
-     * Decorate the add method to perform the growth behaviour.
+     * Decorate the add method to perform the growth behavior.
      * <p>
      * If the requested index is greater than the current size, the list will
      * grow to the new size. Indices between the old size and the requested
@@ -133,7 +133,7 @@ public class GrowthList<E> extends 
AbstractSerializableListDecorator<E> {
 
     //-----------------------------------------------------------------------
     /**
-     * Decorate the addAll method to perform the growth behaviour.
+     * Decorate the addAll method to perform the growth behavior.
      * <p>
      * If the requested index is greater than the current size, the list will
      * grow to the new size. Indices between the old size and the requested
@@ -164,7 +164,7 @@ public class GrowthList<E> extends 
AbstractSerializableListDecorator<E> {
 
     //-----------------------------------------------------------------------
     /**
-     * Decorate the set method to perform the growth behaviour.
+     * Decorate the set method to perform the growth behavior.
      * <p>
      * If the requested index is greater than the current size, the list will
      * grow to the new size. Indices between the old size and the requested
diff --git a/src/main/java/org/apache/commons/collections4/list/LazyList.java 
b/src/main/java/org/apache/commons/collections4/list/LazyList.java
index d23672c..3b4c98b 100644
--- a/src/main/java/org/apache/commons/collections4/list/LazyList.java
+++ b/src/main/java/org/apache/commons/collections4/list/LazyList.java
@@ -132,7 +132,7 @@ public class LazyList<E> extends 
AbstractSerializableListDecorator<E> {
 
     //-----------------------------------------------------------------------
     /**
-     * Decorate the get method to perform the lazy behaviour.
+     * Decorate the get method to perform the lazy behavior.
      * <p>
      * If the requested index is greater than the current size, the list will
      * grow to the new size and a new object will be returned from the factory
diff --git 
a/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java 
b/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
index 2af4ac3..ce547ab 100644
--- a/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
+++ b/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java
@@ -65,7 +65,7 @@ public class SetUniqueList<E> extends 
AbstractSerializableListDecorator<E> {
      * Factory method to create a SetList using the supplied list to retain 
order.
      * <p>
      * If the list contains duplicates, these are removed (first indexed one
-     * kept). A {@code HashSet} is used for the set behaviour.
+     * kept). A {@code HashSet} is used for the set behavior.
      *
      * @param <E>  the element type
      * @param list  the list to decorate, must not be null
@@ -116,7 +116,7 @@ public class SetUniqueList<E> extends 
AbstractSerializableListDecorator<E> {
      * <p>
      * <i>(Violation)</i> The {@code List} interface requires that this
      * method returns {@code true} always. However this class may return
-     * {@code false} because of the {@code Set} behaviour.
+     * {@code false} because of the {@code Set} behavior.
      *
      * @param object  the object to add
      * @return true if object was added
diff --git 
a/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java 
b/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java
index f0fa69e..e291015 100644
--- a/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/AbstractHashedMap.java
@@ -44,7 +44,7 @@ import 
org.apache.commons.collections4.iterators.EmptyMapIterator;
  * which can be overridden and replaced. The iterators can similarly be 
replaced,
  * without the need to replace the KeySet, EntrySet and Values view classes.
  * <p>
- * Overridable methods are provided to change the default hashing behaviour, 
and
+ * Overridable methods are provided to change the default hashing behavior, and
  * to change how entries are added to and removed from the map. Hopefully, all 
you
  * need for unusual subclasses is here.
  * <p>
diff --git 
a/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java 
b/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java
index b173e82..b9382d9 100644
--- a/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/AbstractLinkedMap.java
@@ -39,7 +39,7 @@ import 
org.apache.commons.collections4.iterators.EmptyOrderedMapIterator;
  * EntrySet and Values view classes.
  * </p>
  * <p>
- * Overridable methods are provided to change the default hashing behaviour, 
and
+ * Overridable methods are provided to change the default hashing behavior, and
  * to change how entries are added to and removed from the map. Hopefully, all 
you
  * need for unusual subclasses is here.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java 
b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
index bd5c03d..139c366 100644
--- 
a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
+++ 
b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java
@@ -47,7 +47,7 @@ import 
org.apache.commons.collections4.keyvalue.DefaultMapEntry;
  * EntrySet and Values view classes.
  * </p>
  * <p>
- * Overridable methods are provided to change the default hashing behaviour, 
and
+ * Overridable methods are provided to change the default hashing behavior, and
  * to change how entries are added to and removed from the map. Hopefully, all 
you
  * need for unusual subclasses is here.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java 
b/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java
index a40dd8d..4dbce64 100644
--- a/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/DefaultedMap.java
@@ -41,7 +41,7 @@ import 
org.apache.commons.collections4.functors.FactoryTransformer;
  * </p>
  * <p>
  * The defaulted value is not added to the map.
- * Compare this behaviour with {@link LazyMap}, which does add the value
+ * Compare this behavior with {@link LazyMap}, which does add the value
  * to the map (via a Transformer).
  * </p>
  * <p>
diff --git a/src/main/java/org/apache/commons/collections4/map/LRUMap.java 
b/src/main/java/org/apache/commons/collections4/map/LRUMap.java
index a9fb500..145ea80 100644
--- a/src/main/java/org/apache/commons/collections4/map/LRUMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/LRUMap.java
@@ -73,7 +73,7 @@ public class LRUMap<K, V>
 
     /** Maximum size */
     private transient int maxSize;
-    /** Scan behaviour */
+    /** Scan behavior */
     private boolean scanUntilRemovable;
 
     /**
diff --git a/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java 
b/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java
index f96c85f..c2f8581 100644
--- a/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/MultiKeyMap.java
@@ -46,7 +46,7 @@ import org.apache.commons.collections4.keyvalue.MultiKey;
  * </p>
  * <p>
  * This map is implemented as a decorator of a {@code AbstractHashedMap} which
- * enables extra behaviour to be added easily.
+ * enables extra behavior to be added easily.
  * </p>
  * <ul>
  * <li>{@code MultiKeyMap.decorate(new LinkedMap())} creates an ordered map.
diff --git 
a/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapDecorator.java
 
b/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapDecorator.java
index 929b9af..c9f4ba1 100644
--- 
a/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapDecorator.java
@@ -28,11 +28,11 @@ import org.apache.commons.collections4.MultiSet;
 import org.apache.commons.collections4.MultiValuedMap;
 
 /**
- * Decorates another {@code MultiValuedMap} to provide additional behaviour.
+ * Decorates another {@code MultiValuedMap} to provide additional behavior.
  * <p>
  * Each method call made on this {@code MultiValuedMap} is forwarded to the
  * decorated {@code MultiValuedMap}. This class is used as a framework to build
- * to extensions such as synchronized and unmodifiable behaviour.
+ * to extensions such as synchronized and unmodifiable behavior.
  * </p>
  *
  * @param <K> the type of key elements
diff --git 
a/src/main/java/org/apache/commons/collections4/multiset/AbstractMultiSetDecorator.java
 
b/src/main/java/org/apache/commons/collections4/multiset/AbstractMultiSetDecorator.java
index 339ad2c..163cbc9 100644
--- 
a/src/main/java/org/apache/commons/collections4/multiset/AbstractMultiSetDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/multiset/AbstractMultiSetDecorator.java
@@ -22,7 +22,7 @@ import org.apache.commons.collections4.MultiSet;
 import org.apache.commons.collections4.collection.AbstractCollectionDecorator;
 
 /**
- * Decorates another {@code MultSet} to provide additional behaviour.
+ * Decorates another {@code MultSet} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated multiset.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
 
b/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
index af1aa77..0ae0a37 100644
--- 
a/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
+++ 
b/src/main/java/org/apache/commons/collections4/multiset/SynchronizedMultiSet.java
@@ -22,7 +22,7 @@ import org.apache.commons.collections4.MultiSet;
 import org.apache.commons.collections4.collection.SynchronizedCollection;
 
 /**
- * Decorates another {@link MultiSet} to synchronize its behaviour
+ * Decorates another {@link MultiSet} to synchronize its behavior
  * for a multi-threaded environment.
  * <p>
  * Methods are synchronized, then forwarded to the decorated multiset.
diff --git a/src/main/java/org/apache/commons/collections4/overview.html 
b/src/main/java/org/apache/commons/collections4/overview.html
index 2e81d3c..d25f39b 100644
--- a/src/main/java/org/apache/commons/collections4/overview.html
+++ b/src/main/java/org/apache/commons/collections4/overview.html
@@ -99,7 +99,7 @@
       {@link org.apache.commons.collections.Factory}<br />
     </td>
     <td valign="top">
-      A group of <i>functor</i> interfaces that provide plugin behaviour to 
various
+      A group of <i>functor</i> interfaces that provide plugin behavior to 
various
       collections and utilities.
     </td>
   </tr>
diff --git 
a/src/main/java/org/apache/commons/collections4/queue/AbstractQueueDecorator.java
 
b/src/main/java/org/apache/commons/collections4/queue/AbstractQueueDecorator.java
index 5398370..0ecf45d 100644
--- 
a/src/main/java/org/apache/commons/collections4/queue/AbstractQueueDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/queue/AbstractQueueDecorator.java
@@ -21,7 +21,7 @@ import java.util.Queue;
 import org.apache.commons.collections4.collection.AbstractCollectionDecorator;
 
 /**
- * Decorates another {@link Queue} to provide additional behaviour.
+ * Decorates another {@link Queue} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated queue.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/queue/SynchronizedQueue.java 
b/src/main/java/org/apache/commons/collections4/queue/SynchronizedQueue.java
index 5eccae3..182d7d7 100644
--- a/src/main/java/org/apache/commons/collections4/queue/SynchronizedQueue.java
+++ b/src/main/java/org/apache/commons/collections4/queue/SynchronizedQueue.java
@@ -21,7 +21,7 @@ import java.util.Queue;
 import org.apache.commons.collections4.collection.SynchronizedCollection;
 
 /**
- * Decorates another {@link Queue} to synchronize its behaviour for a 
multi-threaded environment.
+ * Decorates another {@link Queue} to synchronize its behavior for a 
multi-threaded environment.
  * <p>
  * Methods are synchronized, then forwarded to the decorated queue. Iterators 
must be separately synchronized around the
  * loop.
diff --git 
a/src/main/java/org/apache/commons/collections4/set/AbstractNavigableSetDecorator.java
 
b/src/main/java/org/apache/commons/collections4/set/AbstractNavigableSetDecorator.java
index 38c3f09..345825a 100644
--- 
a/src/main/java/org/apache/commons/collections4/set/AbstractNavigableSetDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/set/AbstractNavigableSetDecorator.java
@@ -20,7 +20,7 @@ import java.util.Iterator;
 import java.util.NavigableSet;
 
 /**
- * Decorates another {@code NavigableSet} to provide additional behaviour.
+ * Decorates another {@code NavigableSet} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated set.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/set/AbstractSetDecorator.java 
b/src/main/java/org/apache/commons/collections4/set/AbstractSetDecorator.java
index a17c9f5..c316b14 100644
--- 
a/src/main/java/org/apache/commons/collections4/set/AbstractSetDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/set/AbstractSetDecorator.java
@@ -21,7 +21,7 @@ import java.util.Set;
 import org.apache.commons.collections4.collection.AbstractCollectionDecorator;
 
 /**
- * Decorates another {@code Set} to provide additional behaviour.
+ * Decorates another {@code Set} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated set.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/set/AbstractSortedSetDecorator.java
 
b/src/main/java/org/apache/commons/collections4/set/AbstractSortedSetDecorator.java
index d4b26f0..3c13b7e 100644
--- 
a/src/main/java/org/apache/commons/collections4/set/AbstractSortedSetDecorator.java
+++ 
b/src/main/java/org/apache/commons/collections4/set/AbstractSortedSetDecorator.java
@@ -21,7 +21,7 @@ import java.util.Set;
 import java.util.SortedSet;
 
 /**
- * Decorates another {@code SortedSet} to provide additional behaviour.
+ * Decorates another {@code SortedSet} to provide additional behavior.
  * <p>
  * Methods are forwarded directly to the decorated set.
  * </p>
diff --git 
a/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java 
b/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java
index b64f58b..ea19fdb 100644
--- a/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java
+++ b/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java
@@ -106,7 +106,7 @@ public class ListOrderedSet<E>
     /**
      * Factory method to create an ordered set using the supplied list to 
retain order.
      * <p>
-     * A {@code HashSet} is used for the set behaviour.
+     * A {@code HashSet} is used for the set behavior.
      * <p>
      * NOTE: If the list contains duplicates, the duplicates are removed,
      * altering the specified list.
diff --git 
a/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java 
b/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java
index 6533dfd..b0059a0 100644
--- a/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java
+++ b/src/main/java/org/apache/commons/collections4/set/MapBackedSet.java
@@ -25,7 +25,7 @@ import java.util.Set;
 import java.util.function.Predicate;
 
 /**
- * Decorates a {@code Map} to obtain {@code Set} behaviour.
+ * Decorates a {@code Map} to obtain {@code Set} behavior.
  * <p>
  * This class is used to create a {@code Set} with the same properties as
  * the key set of any map. Thus, a ReferenceSet can be created by wrapping a
diff --git a/src/site/xdoc/proposal.xml b/src/site/xdoc/proposal.xml
index 713b7c6..ab6d1a5 100644
--- a/src/site/xdoc/proposal.xml
+++ b/src/site/xdoc/proposal.xml
@@ -36,7 +36,7 @@
 <p>
    Many Jakarta projects have needs or design criteria that extend
    beyond the core Collections API, such as introducing new abstract
-   data types (e.g., Avalon's BinaryHeap) or changing the behaviour of
+   data types (e.g., Avalon's BinaryHeap) or changing the behavior of
    existing abstract data types (e.g., Struts' FastHashMap).
 </p>
 <p>
diff --git a/src/site/xdoc/security-reports.xml 
b/src/site/xdoc/security-reports.xml
index e3f0804..95fe038 100644
--- a/src/site/xdoc/security-reports.xml
+++ b/src/site/xdoc/security-reports.xml
@@ -49,7 +49,7 @@
         list</a>.</p>
 
         <p>If you have encountered an unlisted security vulnerability
-        or other unexpected behaviour that has security impact, or if
+        or other unexpected behavior that has security impact, or if
         the descriptions here are incomplete, please report them
         privately to the Apache Security Team. Thank you.</p>
 
diff --git 
a/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexerTest.java
 
b/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexerTest.java
index cb9b08f..5c063ff 100644
--- 
a/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexerTest.java
+++ 
b/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterIndexerTest.java
@@ -41,7 +41,7 @@ public class BloomFilterIndexerTest {
             // getLongIndex is expected to identify a block of 64-bits 
(starting from zero)
             Assert.assertEquals(index / Long.SIZE, 
BloomFilterIndexer.getLongIndex(index));
 
-            // Verify the behaviour for negatives. It should produce a 
negative (invalid)
+            // Verify the behavior for negatives. It should produce a negative 
(invalid)
             // as a simple trip for incorrect usage.
             Assert.assertTrue(BloomFilterIndexer.getLongIndex(-index) < 0);
 
@@ -60,7 +60,7 @@ public class BloomFilterIndexerTest {
             // getLongBit is expected to identify a single bit in a 64-bit 
block
             Assert.assertEquals(1L << (index % Long.SIZE), 
BloomFilterIndexer.getLongBit(index));
 
-            // Verify the behaviour for negatives
+            // Verify the behavior for negatives
             Assert.assertEquals(1L << (64 - (index & 0x3f)), 
BloomFilterIndexer.getLongBit(-index));
         }
     }
diff --git 
a/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java
 
b/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java
index aa9e282..9389de0 100644
--- 
a/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java
+++ 
b/src/test/java/org/apache/commons/collections4/iterators/AbstractIteratorTest.java
@@ -121,7 +121,7 @@ public abstract class AbstractIteratorTest<E> extends 
AbstractObjectTest {
     }
 
     /**
-     * Test normal iteration behaviour.
+     * Test normal iteration behavior.
      */
     public void testFullIterator() {
         if (!supportsFullIterator()) {
@@ -157,7 +157,7 @@ public abstract class AbstractIteratorTest<E> extends 
AbstractObjectTest {
     }
 
     /**
-     * Test remove behaviour.
+     * Test remove behavior.
      */
     public void testRemove() {
         final Iterator<E> it = makeObject();
diff --git 
a/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java
 
b/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java
index f478fed..04a5596 100644
--- 
a/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java
+++ 
b/src/test/java/org/apache/commons/collections4/iterators/AbstractListIteratorTest.java
@@ -156,7 +156,7 @@ public abstract class AbstractListIteratorTest<E> extends 
AbstractIteratorTest<E
     }
 
     /**
-     * Test add behaviour.
+     * Test add behavior.
      */
     public void testAdd() {
         ListIterator<E> it = makeObject();
@@ -193,7 +193,7 @@ public abstract class AbstractListIteratorTest<E> extends 
AbstractIteratorTest<E
     }
 
     /**
-     * Test set behaviour.
+     * Test set behavior.
      */
     public void testSet() {
         final ListIterator<E> it = makeObject();
@@ -250,7 +250,7 @@ public abstract class AbstractListIteratorTest<E> extends 
AbstractIteratorTest<E
     }
 
     /**
-     * Test remove after add behaviour.
+     * Test remove after add behavior.
      */
     public void testAddThenRemove() {
         final ListIterator<E> it = makeObject();
diff --git 
a/src/test/java/org/apache/commons/collections4/keyvalue/AbstractMapEntryTest.java
 
b/src/test/java/org/apache/commons/collections4/keyvalue/AbstractMapEntryTest.java
index fa31c89..4ad9851 100644
--- 
a/src/test/java/org/apache/commons/collections4/keyvalue/AbstractMapEntryTest.java
+++ 
b/src/test/java/org/apache/commons/collections4/keyvalue/AbstractMapEntryTest.java
@@ -91,7 +91,7 @@ public abstract class AbstractMapEntryTest<K, V> {
 
     /**
      * Subclasses should override this method to test the
-     * desired behaviour of the class with respect to
+     * desired behavior of the class with respect to
      * handling of self-references.
      *
      */
diff --git 
a/src/test/java/org/apache/commons/collections4/list/SetUniqueListTest.java 
b/src/test/java/org/apache/commons/collections4/list/SetUniqueListTest.java
index 05795e9..4aea06d 100644
--- a/src/test/java/org/apache/commons/collections4/list/SetUniqueListTest.java
+++ b/src/test/java/org/apache/commons/collections4/list/SetUniqueListTest.java
@@ -113,7 +113,7 @@ public class SetUniqueListTest<E> extends 
AbstractListTest<E> {
 
     @Override
     public void testCollectionAddAll() {
-        // override for set behaviour
+        // override for set behavior
         resetEmpty();
         E[] elements = getFullElements();
         boolean r = getCollection().addAll(Arrays.asList(elements));
@@ -300,7 +300,7 @@ public class SetUniqueListTest<E> extends 
AbstractListTest<E> {
 
     @Override
     public void testListIteratorAdd() {
-        // override to cope with Set behaviour
+        // override to cope with Set behavior
         resetEmpty();
         final List<E> list1 = getCollection();
         final List<E> list2 = getConfirmed();
@@ -343,7 +343,7 @@ public class SetUniqueListTest<E> extends 
AbstractListTest<E> {
     @Override
     @SuppressWarnings("unchecked")
     public void testListSetByIndex() {
-        // override for set behaviour
+        // override for set behavior
         resetFull();
         final int size = getCollection().size();
         getCollection().set(0, (E) new Long(1000));

Reply via email to