Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
updates from review

Co-authored-by: Simone Bordet <[email protected]>
  • Loading branch information
gregw and sbordet authored Sep 23, 2024
1 parent 47d5e0c commit c2db17e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,10 @@ public static <T> List<T> asList(T[] a)
}

/**
* <p>Returns a {@link ListIterator} positioned at the last item in a list</p>
* <p>The method is safe for concurrent modifications iff the list iterator itself is safe.</p>
* <p>Returns a {@link ListIterator} positioned at the last item in a list.</p>
* @param list the list
* @param <T> the element type
* @return A {@link ListIterator} with {@link ListIterator#hasNext()} that would have return {@code false}
* at the snapshot of the list represented by this call.
* @return A {@link ListIterator} positioned at the last item of the list.
*/
public static <T> ListIterator<T> listIteratorAtEnd(List<T> list)
{
Expand Down

0 comments on commit c2db17e

Please sign in to comment.