commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1470005 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4: Bag.java bag/TreeBag.java
Date Fri, 19 Apr 2013 19:35:11 GMT
Author: tn
Date: Fri Apr 19 19:35:10 2013
New Revision: 1470005

URL: http://svn.apache.org/r1470005
Log:
Fix spelling, formatting.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/Bag.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/bag/TreeBag.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/Bag.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/Bag.java?rev=1470005&r1=1470004&r2=1470005&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/Bag.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/Bag.java
Fri Apr 19 19:35:10 2013
@@ -56,7 +56,7 @@ public interface Bag<E> extends Collecti
 
     /**
      * <i>(Violation)</i>
-     * Adds one copy the specified object to the Bag.
+     * Adds one copy of the specified object to the Bag.
      * <p>
      * If the object is already in the {@link #uniqueSet()} then increment its
      * count as reported by {@link #getCount(Object)}. Otherwise add it to the

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/bag/TreeBag.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/bag/TreeBag.java?rev=1470005&r1=1470004&r2=1470005&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/bag/TreeBag.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/bag/TreeBag.java
Fri Apr 19 19:35:10 2013
@@ -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.
  * <p>
- * 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.
  * <p>
- * 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$



Mime
View raw message