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

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.89 by jsr166, Thu Dec 22 23:25:51 2011 UTC vs.
Revision 1.90 by jsr166, Tue Feb 21 01:54:03 2012 UTC

# Line 133 | Line 133 | public class CopyOnWriteArrayList<E>
133      }
134  
135      /**
136 <     * Test for equality, coping with nulls.
136 >     * Tests for equality, coping with nulls.
137       */
138      private static boolean eq(Object o1, Object o2) {
139          return (o1 == null ? o2 == null : o1.equals(o2));
# Line 556 | Line 556 | public class CopyOnWriteArrayList<E>
556      }
557  
558      /**
559 <     * Append the element if not present.
559 >     * Appends the element, if not present.
560       *
561       * @param e element to be added to this list, if absent
562       * @return <tt>true</tt> if the element was added

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines