Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
Checkstyle
  • Loading branch information
garydgregory committed Oct 20, 2024
1 parent 161e1f1 commit e4eaa0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
* Tests base {@link java.util.LinkedList} methods and contracts.
* <p>
* To use, simply extend this class, and implement the {@link #makeObject()} method.
* </p>
* <p>
* If your {@link LinkedList} fails one of these tests by design, you may still use this base set of cases. Simply override the test case (method) your
* {@link List} fails.
* </p>
*/
public abstract class AbstractLinkedListTest<T> extends AbstractListTest<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void testAddNodeAfter() {
resetEmpty();
final AbstractLinkedList<E> list = getCollection();
if (!isAddSupported()) {
assertThrows(UnsupportedOperationException.class, () -> list.addFirst(null));
assertThrows(UnsupportedOperationException.class, () -> list.addFirst(null));
}
list.addFirst((E) "value1");
list.addNodeAfter(list.getNode(0, false), (E) "value2");
Expand Down

0 comments on commit e4eaa0e

Please sign in to comment.