diff --git a/src/main/java/org/apache/commons/collections4/bag/AbstractMapBag.java b/src/main/java/org/apache/commons/collections4/bag/AbstractMapBag.java index 9e68bfdb8..6970d2b6c 100644 --- a/src/main/java/org/apache/commons/collections4/bag/AbstractMapBag.java +++ b/src/main/java/org/apache/commons/collections4/bag/AbstractMapBag.java @@ -49,7 +49,7 @@ public abstract class AbstractMapBag implements Bag { private int size; /** The modification count for fail fast iterators */ private transient int modCount; - /** The modification count for fail fast iterators */ + /** Unique view of the elements */ private transient Set uniqueSet; /** diff --git a/src/main/java/org/apache/commons/collections4/bag/CollectionBag.java b/src/main/java/org/apache/commons/collections4/bag/CollectionBag.java index 73d02e89e..0cc15d899 100644 --- a/src/main/java/org/apache/commons/collections4/bag/CollectionBag.java +++ b/src/main/java/org/apache/commons/collections4/bag/CollectionBag.java @@ -104,7 +104,7 @@ public final class CollectionBag extends AbstractBagDecorator { * every object contained in this object. * * @param coll the collection to check against - * @return true if the Bag contains at least on of every object in the collection + * @return true if the Bag contains at least one of every object in the collection */ @Override public boolean containsAll(final Collection coll) {