Skip to content

Commit

Permalink
Fix Javadoc warning
Browse files Browse the repository at this point in the history
[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] ^
  • Loading branch information
garydgregory committed Oct 20, 2024
1 parent 799ef3d commit f7ae172
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,9 @@ public void add(final int index, final E obj) {
*
* @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) {
Expand Down

0 comments on commit f7ae172

Please sign in to comment.