ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ConcurrentLinkedDequeTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ConcurrentLinkedDequeTest.java (file contents):
Revision 1.1 by jsr166, Wed Aug 25 21:40:03 2010 UTC vs.
Revision 1.2 by jsr166, Wed Nov 3 07:54:52 2010 UTC

# Line 669 | Line 669 | public class ConcurrentLinkedDequeTest e
669      }
670  
671      /**
672 <     * toArray() with incompatible array type throws ArrayStoreException
672 >     * toArray(incompatible array type) throws ArrayStoreException
673       */
674      public void testToArray1_BadArg() {
675          ConcurrentLinkedDeque q = populatedDeque(SIZE);
676          try {
677 <            Object o[] = q.toArray(new String[10]);
677 >            q.toArray(new String[10]);
678              shouldThrow();
679          } catch (ArrayStoreException success) {}
680      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines