This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new e4eaa0e81 Javadoc
e4eaa0e81 is described below
commit e4eaa0e815ad1c2de35627b53d7f976df49b61da
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Oct 20 10:10:55 2024 -0400
Javadoc
Checkstyle
---
.../java/org/apache/commons/collections4/AbstractLinkedListTest.java | 2 ++
.../org/apache/commons/collections4/list/AbstractLinkedListTest.java | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git
a/src/test/java/org/apache/commons/collections4/AbstractLinkedListTest.java
b/src/test/java/org/apache/commons/collections4/AbstractLinkedListTest.java
index 698a610f3..241326499 100644
--- a/src/test/java/org/apache/commons/collections4/AbstractLinkedListTest.java
+++ b/src/test/java/org/apache/commons/collections4/AbstractLinkedListTest.java
@@ -32,9 +32,11 @@ import org.junit.jupiter.api.Test;
* 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> {
diff --git
a/src/test/java/org/apache/commons/collections4/list/AbstractLinkedListTest.java
b/src/test/java/org/apache/commons/collections4/list/AbstractLinkedListTest.java
index db67c94ec..5620ef02c 100644
---
a/src/test/java/org/apache/commons/collections4/list/AbstractLinkedListTest.java
+++
b/src/test/java/org/apache/commons/collections4/list/AbstractLinkedListTest.java
@@ -56,7 +56,7 @@ public abstract class AbstractLinkedListTest<E> extends
AbstractListTest<E> {
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");