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 5690be041 Normalize spelling
5690be041 is described below

commit 5690be041c35af8615b05d9e70ed5e1661234748
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 27 10:36:44 2025 -0500

    Normalize spelling
---
 .../java/org/apache/commons/collections4/bloomfilter/BloomFilter.java | 2 +-
 src/main/java/org/apache/commons/collections4/map/Flat3Map.java       | 2 +-
 src/site/xdoc/pick.xml                                                | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java 
b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java
index 1ea391e3f..338c8300e 100644
--- a/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java
+++ b/src/main/java/org/apache/commons/collections4/bloomfilter/BloomFilter.java
@@ -243,7 +243,7 @@ public interface BloomFilter<T extends BloomFilter<T>> 
extends IndexExtractor, B
      * {@code cardinality() == 0}.
      *
      * <p>
-     * <em>Note: This method is optimised for non-sparse filters.</em> 
Implementers
+     * <em>Note: This method is optimized for non-sparse filters.</em> 
Implementers
      * are encouraged to implement faster checks if possible.
      * </p>
      *
diff --git a/src/main/java/org/apache/commons/collections4/map/Flat3Map.java 
b/src/main/java/org/apache/commons/collections4/map/Flat3Map.java
index 552d4ee54..ec304b698 100644
--- a/src/main/java/org/apache/commons/collections4/map/Flat3Map.java
+++ b/src/main/java/org/apache/commons/collections4/map/Flat3Map.java
@@ -44,7 +44,7 @@ import 
org.apache.commons.collections4.iterators.EmptyMapIterator;
  * It also has good garbage collection characteristics.
  * </p>
  * <ul>
- * <li>Optimised for operation at size 3 or less.
+ * <li>Optimized for operation at size 3 or less.
  * <li>Still works well once size 3 exceeded.
  * <li>Gets at size 3 or less are about 0-10% faster than HashMap,
  * <li>Puts at size 3 or less are over 4 times faster than HashMap.
diff --git a/src/site/xdoc/pick.xml b/src/site/xdoc/pick.xml
index 44a892f99..a46f57e62 100644
--- a/src/site/xdoc/pick.xml
+++ b/src/site/xdoc/pick.xml
@@ -166,11 +166,11 @@ The <a 
href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html";>Map</
 </tr>
 <tr>
 <td><a 
href="https://commons.apache.org/proper/commons-collections/javadocs/api-4.4/org/apache/commons/collections4/map/Flat3Map.html";>Flat3Map</a></td>
-<td>This map is optimised to store one, two or three key-value pairs and 
outperforms HashMap at these sizes. For size four and above performance is 
about 5% slower than HashMap. This map also has good garbage collection 
characteristics when below size four. It provides a MapIterator. This map 
should be used if are 99% sure that the map will be size three or less.</td>
+<td>This map is optimized to store one, two or three key-value pairs and 
outperforms HashMap at these sizes. For size four and above performance is 
about 5% slower than HashMap. This map also has good garbage collection 
characteristics when below size four. It provides a MapIterator. This map 
should be used if are 99% sure that the map will be size three or less.</td>
 </tr>
 <tr>
 <td><a 
href="https://commons.apache.org/proper/commons-collections/javadocs/api-4.4/org/apache/commons/collections4/map/StaticBucketMap.html";>StaticBucketMap</a></td>
-<td>This map is optimised to work well in a heavily loaded multithreaded 
environment. It provides synchronization internally, locking on a per 'bucket' 
basis, where the buckets are fixed at construction time. You should use this 
class if you can predict the size of the map and you are working in a very 
intensive multithreaded environment.</td>
+<td>This map is optimized to work well in a heavily loaded multithreaded 
environment. It provides synchronization internally, locking on a per 'bucket' 
basis, where the buckets are fixed at construction time. You should use this 
class if you can predict the size of the map and you are working in a very 
intensive multithreaded environment.</td>
 </tr>
 </table>
 </div>

Reply via email to