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.10 by dl, Sun Oct 19 13:38:29 2003 UTC vs.
Revision 1.11 by jsr166, Tue Oct 21 05:11:40 2003 UTC

# Line 487 | Line 487 | public class LinkedList<E>
487      /**
488       * Adds the specified element as the tail (last element) of this list.
489       *
490 <     * @param x the element to add.
490 >     * @param o the element to add.
491       * @return <tt>true</tt> (as per the general contract of
492       * <tt>Queue.offer</tt>)
493       * @since 1.5
494       */
495 <    public boolean offer(E x) {
496 <        return add(x);
495 >    public boolean offer(E o) {
496 >        return add(o);
497      }
498  
499      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines