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.80 by jsr166, Wed Jun 8 03:55:19 2011 UTC vs.
Revision 1.81 by jsr166, Thu Jun 9 07:48:43 2011 UTC

# Line 312 | Line 312 | public class CopyOnWriteArrayList<E>
312       * The following code can be used to dump the list into a newly
313       * allocated array of <tt>String</tt>:
314       *
315 <     * <pre>
316 <     *     String[] y = x.toArray(new String[0]);</pre>
315 >     *  <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
316       *
317       * Note that <tt>toArray(new Object[0])</tt> is identical in function to
318       * <tt>toArray()</tt>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines