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.126 by jsr166, Sun Jan 25 21:16:25 2015 UTC vs.
Revision 1.127 by jsr166, Tue Feb 17 18:55:39 2015 UTC

# Line 335 | Line 335 | public class CopyOnWriteArrayList<E>
335       * The following code can be used to dump the list into a newly
336       * allocated array of {@code String}:
337       *
338 <     *  <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
338 >     * <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
339       *
340       * Note that {@code toArray(new Object[0])} is identical in function to
341       * {@code toArray()}.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines