Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53cf9ed7f6
commit
7d9196da0e
|
@ -232,12 +232,10 @@ public abstract class AbstractMapBag<E> implements Bag<E> {
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
/**
|
||||
* Adds a new element to the bag, incrementing its count in the underlying
|
||||
* map.
|
||||
* Adds a new element to the bag, incrementing its count in the underlying map.
|
||||
*
|
||||
* @param object the object to add
|
||||
* @return <code>true</code> if the object was not already in the
|
||||
* <code>uniqueSet</code>
|
||||
* @return <code>true</code> if the object was not already in the <code>uniqueSet</code>
|
||||
*/
|
||||
public boolean add(final E object) {
|
||||
return add(object, 1);
|
||||
|
@ -248,8 +246,7 @@ public abstract class AbstractMapBag<E> implements Bag<E> {
|
|||
*
|
||||
* @param object the object to search for
|
||||
* @param nCopies the number of copies to add
|
||||
* @return <code>true</code> if the object was not already in the
|
||||
* <code>uniqueSet</code>
|
||||
* @return <code>true</code> if the object was not already in the <code>uniqueSet</code>
|
||||
*/
|
||||
public boolean add(final E object, final int nCopies) {
|
||||
modCount++;
|
||||
|
|
Loading…
Reference in New Issue