From c143260d76cc78d6897741ce6ef84c1f3a113c61 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Fri, 19 Apr 2013 19:35:10 +0000 Subject: [PATCH] Fix spelling, formatting. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470005 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/collections4/Bag.java | 2 +- .../apache/commons/collections4/bag/TreeBag.java | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/Bag.java b/src/main/java/org/apache/commons/collections4/Bag.java index 5b8c14842..11a7e4a65 100644 --- a/src/main/java/org/apache/commons/collections4/Bag.java +++ b/src/main/java/org/apache/commons/collections4/Bag.java @@ -56,7 +56,7 @@ public interface Bag extends Collection { /** * (Violation) - * Adds one copy the specified object to the Bag. + * Adds one copy of the specified object to the Bag. *

* If the object is already in the {@link #uniqueSet()} then increment its * count as reported by {@link #getCount(Object)}. Otherwise add it to the diff --git a/src/main/java/org/apache/commons/collections4/bag/TreeBag.java b/src/main/java/org/apache/commons/collections4/bag/TreeBag.java index 4d9c3276f..185bb83f6 100644 --- a/src/main/java/org/apache/commons/collections4/bag/TreeBag.java +++ b/src/main/java/org/apache/commons/collections4/bag/TreeBag.java @@ -28,17 +28,15 @@ import java.util.TreeMap; import org.apache.commons.collections4.SortedBag; /** - * Implements {@link SortedBag}, using a {@link TreeMap} to provide - * the data storage. This is the standard implementation of a sorted bag. + * Implements {@link SortedBag}, using a {@link TreeMap} to provide the data storage. + * This is the standard implementation of a sorted bag. *

- * Order will be maintained among the bag members and can be viewed through the - * iterator. + * Order will be maintained among the bag members and can be viewed through the iterator. *

- * A {@link org.apache.commons.collections4.Bag Bag} stores each object in the collection together with a count - * of occurrences. Extra methods on the interface allow multiple copies of an - * object to be added or removed at once. It is important to read the interface - * javadoc carefully as several methods violate the {@link Collection} - * interface specification. + * A {@link org.apache.commons.collections4.Bag Bag} stores each object in the collection + * together with a count of occurrences. Extra methods on the interface allow multiple + * copies of an object to be added or removed at once. It is important to read the interface + * javadoc carefully as several methods violate the {@link Collection} interface specification. * * @since 3.0 (previously in main package v2.0) * @version $Id$