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 f7ae1720c Fix Javadoc warning
f7ae1720c is described below
commit f7ae1720cc5e7da9feb9ceef56e80cc2b29e46c0
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Oct 20 17:41:23 2024 -0400
Fix Javadoc warning
[WARNING]
...\commons-collections\src\main\java\org\apache\commons\collections4\list\TreeList.java:955:
warning: overridden methods do not document exception type
java.lang.NullPointerException (package java.lang class
NullPointerException)
[WARNING] * @throws NullPointerException {@inheritDoc}
[WARNING] ^
---
src/main/java/org/apache/commons/collections4/list/TreeList.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/collections4/list/TreeList.java
b/src/main/java/org/apache/commons/collections4/list/TreeList.java
index 07d194ade..d91297b26 100644
--- a/src/main/java/org/apache/commons/collections4/list/TreeList.java
+++ b/src/main/java/org/apache/commons/collections4/list/TreeList.java
@@ -952,7 +952,9 @@ public class TreeList<E> extends AbstractList<E> {
*
* @param c the collection to be added to this list
* @return {@code true} if this list changed as a result of the call
- * @throws NullPointerException {@inheritDoc}
+ * @throws NullPointerException if the specified collection contains a
+ * null element and this collection does not permit null elements,
+ * or if the specified collection is null
*/
@Override
public boolean addAll(final Collection<? extends E> c) {