Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@745049 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
42d47cdee0
commit
3994416eb5
|
@ -22,7 +22,7 @@ import junit.framework.TestSuite;
|
||||||
import org.apache.commons.collections.bag.AbstractTestBag;
|
import org.apache.commons.collections.bag.AbstractTestBag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extension of {@link TestBag} for exercising the {@link HashBag}
|
* Extension of {@link AbstractTestBag} for exercising the {@link HashBag}
|
||||||
* implementation.
|
* implementation.
|
||||||
*
|
*
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.apache.commons.collections.list.AbstractTestList;
|
||||||
* Tests base {@link java.util.LinkedList} methods and contracts.
|
* Tests base {@link java.util.LinkedList} methods and contracts.
|
||||||
* <p>
|
* <p>
|
||||||
* To use, simply extend this class, and implement
|
* To use, simply extend this class, and implement
|
||||||
* the {@link #makeLinkedList} method.
|
* the {@link #makeEmptyLinkedList()} method.
|
||||||
* <p>
|
* <p>
|
||||||
* If your {@link LinkedList} fails one of these tests by design,
|
* If your {@link LinkedList} fails one of these tests by design,
|
||||||
* you may still use this base set of cases. Simply override the
|
* you may still use this base set of cases. Simply override the
|
||||||
|
@ -126,7 +126,7 @@ public abstract class TestLinkedList extends AbstractTestList {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests {@link LinkedList#getFirst(Object)}.
|
* Tests {@link LinkedList#getFirst()}.
|
||||||
*/
|
*/
|
||||||
public void testLinkedListGetFirst() {
|
public void testLinkedListGetFirst() {
|
||||||
resetEmpty();
|
resetEmpty();
|
||||||
|
@ -148,7 +148,7 @@ public abstract class TestLinkedList extends AbstractTestList {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests {@link LinkedList#getLast(Object)}.
|
* Tests {@link LinkedList#getLast()}.
|
||||||
*/
|
*/
|
||||||
public void testLinkedListGetLast() {
|
public void testLinkedListGetLast() {
|
||||||
resetEmpty();
|
resetEmpty();
|
||||||
|
@ -170,7 +170,7 @@ public abstract class TestLinkedList extends AbstractTestList {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests {@link LinkedList#removeFirst(Object)}.
|
* Tests {@link LinkedList#removeFirst()}.
|
||||||
*/
|
*/
|
||||||
public void testLinkedListRemoveFirst() {
|
public void testLinkedListRemoveFirst() {
|
||||||
if (!isRemoveSupported()) return;
|
if (!isRemoveSupported()) return;
|
||||||
|
@ -194,7 +194,7 @@ public abstract class TestLinkedList extends AbstractTestList {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests {@link LinkedList#removeLast(Object)}.
|
* Tests {@link LinkedList#removeLast()}.
|
||||||
*/
|
*/
|
||||||
public void testLinkedListRemoveLast() {
|
public void testLinkedListRemoveLast() {
|
||||||
if (!isRemoveSupported()) return;
|
if (!isRemoveSupported()) return;
|
||||||
|
@ -218,14 +218,14 @@ public abstract class TestLinkedList extends AbstractTestList {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an empty {@link ArrayList}.
|
* Returns an empty {@link LinkedList}.
|
||||||
*/
|
*/
|
||||||
public Collection makeConfirmedCollection() {
|
public Collection makeConfirmedCollection() {
|
||||||
return new LinkedList();
|
return new LinkedList();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a full {@link ArrayList}.
|
* Returns a full {@link LinkedList}.
|
||||||
*/
|
*/
|
||||||
public Collection makeConfirmedFullCollection() {
|
public Collection makeConfirmedFullCollection() {
|
||||||
List list = new LinkedList();
|
List list = new LinkedList();
|
||||||
|
|
Loading…
Reference in New Issue