Skip to content

Commit c2db17e

Browse files
gregwsbordet
andauthored
Apply suggestions from code review
updates from review Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
1 parent 47d5e0c commit c2db17e

File tree

1 file changed

+2
-4
lines changed
  • jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util

1 file changed

+2
-4
lines changed

jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/TypeUtil.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,10 @@ public static <T> List<T> asList(T[] a)
175175
}
176176

177177
/**
178-
* <p>Returns a {@link ListIterator} positioned at the last item in a list</p>
179-
* <p>The method is safe for concurrent modifications iff the list iterator itself is safe.</p>
178+
* <p>Returns a {@link ListIterator} positioned at the last item in a list.</p>
180179
* @param list the list
181180
* @param <T> the element type
182-
* @return A {@link ListIterator} with {@link ListIterator#hasNext()} that would have return {@code false}
183-
* at the snapshot of the list represented by this call.
181+
* @return A {@link ListIterator} positioned at the last item of the list.
184182
*/
185183
public static <T> ListIterator<T> listIteratorAtEnd(List<T> list)
186184
{

0 commit comments

Comments
 (0)