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.113 by jsr166, Thu Aug 8 15:13:34 2013 UTC vs.
Revision 1.114 by jsr166, Mon Nov 4 00:00:39 2013 UTC

# Line 349 | Line 349 | public class CopyOnWriteArrayList<E>
349       * @throws NullPointerException if the specified array is null
350       */
351      @SuppressWarnings("unchecked")
352 <    public <T> T[] toArray(T a[]) {
352 >    public <T> T[] toArray(T[] a) {
353          Object[] elements = getArray();
354          int len = elements.length;
355          if (a.length < len)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines