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.116 by jsr166, Sun Nov 23 18:46:47 2014 UTC vs.
Revision 1.117 by jsr166, Sun Nov 23 21:40:08 2014 UTC

# Line 1001 | Line 1001 | public class CopyOnWriteArrayList<E>
1001       * be the same if they have the same length and corresponding
1002       * elements at the same position in the sequence are <em>equal</em>.
1003       * Two elements {@code e1} and {@code e2} are considered
1004 <     * <em>equal</em> if {@code (e1==null ? e2==null : e1.equals(e2))}.
1004 >     * <em>equal</em> if {@code Objects.equals(e1, e2)}.
1005       *
1006       * @param o the object to be compared for equality with this list
1007       * @return {@code true} if the specified object is equal to this list

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines