This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 e776a1cc9 Javadoc
e776a1cc9 is described below
commit e776a1cc9ac10a968c34fac26417fe95435c3ed0
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jun 27 13:25:11 2026 +0000
Javadoc
---
src/main/java/org/apache/commons/collections4/Bag.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/Bag.java
b/src/main/java/org/apache/commons/collections4/Bag.java
index 874d75be5..72b047203 100644
--- a/src/main/java/org/apache/commons/collections4/Bag.java
+++ b/src/main/java/org/apache/commons/collections4/Bag.java
@@ -57,7 +57,7 @@ public interface Bag<E> extends Collection<E> {
* <p>
* Since this method always increases the size of the bag,
* according to the {@link Collection#add(Object)} contract, it
- * should always return {@code true}. Since it sometimes returns
+ * should always return {@code true}. Since it sometimes returns
* {@code false}, this method violates the contract.
* </p>
*
@@ -85,7 +85,7 @@ public interface Bag<E> extends Collection<E> {
/**
* <em>(Violation)</em>
* Returns {@code true} if the bag contains all elements in
- * the given collection, respecting cardinality. That is, if the
+ * the given collection, respecting cardinality. That is, if the
* given collection {@code coll} contains {@code n} copies
* of a given object, calling {@link #getCount(Object)} on that object must
* be {@code >= n} for all {@code n} in {@code coll}.
@@ -157,7 +157,7 @@ public interface Bag<E> extends Collection<E> {
/**
* <em>(Violation)</em>
* Remove all elements represented in the given collection,
- * respecting cardinality. That is, if the given collection
+ * respecting cardinality. That is, if the given collection
* {@code coll} contains {@code n} copies of a given object,
* the bag will have {@code n} fewer copies, assuming the bag
* had at least {@code n} copies to begin with.
@@ -178,10 +178,10 @@ public interface Bag<E> extends Collection<E> {
/**
* <em>(Violation)</em>
* Remove any members of the bag that are not in the given
- * collection, respecting cardinality. That is, if the given
+ * collection, respecting cardinality. That is, if the given
* collection {@code coll} contains {@code n} copies of a
* given object and the bag has {@code m > n} copies, then
- * delete {@code m - n} copies from the bag. In addition, if
+ * delete {@code m - n} copies from the bag. In addition, if
* {@code e} is an object in the bag but
* {@code !coll.contains(e)}, then remove {@code e} and any
* of its copies.