ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/LinkedList.java
(Generate patch)

Comparing jsr166/src/main/java/util/LinkedList.java (file contents):
Revision 1.51 by jsr166, Sun Sep 5 21:32:19 2010 UTC vs.
Revision 1.52 by jsr166, Sat Oct 16 16:44:39 2010 UTC

# Line 258 | Line 258 | public class LinkedList<E>
258       * @return the last element in this list
259       * @throws NoSuchElementException if this list is empty
260       */
261 <    public E getLast()  {
261 >    public E getLast() {
262          final Node<E> l = last;
263          if (l == null)
264              throw new NoSuchElementException();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines