diff --git a/PROPOSAL.html b/PROPOSAL.html index 822f57318..2f10130ad 100644 --- a/PROPOSAL.html +++ b/PROPOSAL.html @@ -34,7 +34,7 @@
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).
diff --git a/src/main/java/org/apache/commons/collections4/ArrayUtils.java b/src/main/java/org/apache/commons/collections4/ArrayUtils.java index 696fd89b6..6ce8be5ec 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; *
* 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. *
** 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 b5da468f7..9b941520d 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 { *
** 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)}. *
* * @param* 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)}. *
* diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java b/src/main/java/org/apache/commons/collections4/CollectionUtils.java index 9395dc816..b3ae7cfeb 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 { * ** 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}. *
* * @param
* 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
* 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.
*
* 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.
*
* 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}.
*
@@ -1886,7 +1886,7 @@ public class MapUtils {
* Returns a transformed sorted map backed by the given map.
*
* 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}.
*
@@ -1949,7 +1949,7 @@ public class MapUtils {
* Prints the given map with nice line breaks.
*
* 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.
*
* 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 9c695354a..17db98f9d 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}.
*
* 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 8dd5d0ffc..c381de354 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
* 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
* 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
* 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
* 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
* Methods are forwarded directly to the decorated bag.
*
* Methods are forwarded directly to the decorated bag.
*
* 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 5e4e45f9a..893b0948c 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.
*
* 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 78c258435..e0bd5cf6e 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
* 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 7066a6588..87037e7df 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 {
* The index is assumed to be positive. For a positive index the result will match
* {@code bitIndex / 64}.
*
- * The divide is performed using bit shifts. If the input is negative the behaviour
+ * 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 {
* The index is assumed to be positive. For a positive index the result will match
* {@code 1L << (bitIndex % 64)}.
*
- * If the input is negative the behaviour is not defined.
+ * 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 7b58c8e6e..c34ed43ba 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.
*
* 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 635543d3d..530489548 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.
*
* 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 83ff884ed..2ebfe88fa 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.
*
* 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 c03a80b09..261180345 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
* 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 94f84f63b..a2a163e1d 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.
*
* 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 ef414411c..a7a105c88 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.
*
* 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 8f9811546..686335fb8 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.
*
* 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 b3b38e21a..ae0ca71bb 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.
*
* 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 6eebc376c..dae0eb654 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
* Methods are forwarded directly to the decorated list.
*
* The {@code Cursor} class is provided partly for backwards compatibility
@@ -100,7 +100,7 @@ public class CursorableLinkedList
* 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 not 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 4ade5d1c2..7dce0d988 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
* 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
* 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
* 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 d23672c87..3b4c98b38 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
* 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 2af4ac34d..ce547ab53 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
* 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
* (Violation) 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 f0fa69ec6..e291015c2 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.
*
- * 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.
*
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 b173e8299..b9382d972 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.
*
- * 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.
*
- * 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.
*
* 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).
*
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 a9fb500f3..145ea80bd 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
* 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.
*
* 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.
*
* Methods are forwarded directly to the decorated multiset.
*
* 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 2e81d3cd8..d25f39bdd 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}
* Methods are forwarded directly to the decorated queue.
*
* 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 38c3f098e..345825a63 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.
*
* Methods are forwarded directly to the decorated set.
*
* Methods are forwarded directly to the decorated set.
*
* Methods are forwarded directly to the decorated set.
*
- * A {@code HashSet} is used for the set behaviour.
+ * A {@code HashSet} is used for the set behavior.
*
* 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 6533dfde9..b0059a00b 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.
*
* 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 713b7c66b..ab6d1a595 100644
--- a/src/site/xdoc/proposal.xml
+++ b/src/site/xdoc/proposal.xml
@@ -36,7 +36,7 @@
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).
diff --git a/src/site/xdoc/security-reports.xml b/src/site/xdoc/security-reports.xml
index e3f0804bb..95fe038a3 100644
--- a/src/site/xdoc/security-reports.xml
+++ b/src/site/xdoc/security-reports.xml
@@ -49,7 +49,7 @@
list. 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.
*
- A group of functor interfaces that provide plugin behaviour to various
+ A group of functor interfaces that provide plugin behavior to various
collections and utilities.
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 539837013..0ecf45d78 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.
*