ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Collections/Rotate.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Collections/Rotate.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:19 2010 UTC vs.
Revision 1.5 by jsr166, Sun Oct 22 02:59:18 2017 UTC

# Line 21 | Line 21
21   * questions.
22   */
23  
24 < /**
24 > /*
25   * @test
26   * @bug 4323074
27   * @summary Basic test for new rotate algorithm
28 + * @key randomness
29   */
30  
31   import java.util.*;
# Line 36 | Line 37 | public class Rotate {
37      static Random rnd = new Random();
38  
39      public static void main(String[] args) throws Exception {
40 <        List a[] = {new ArrayList(), new LinkedList(), new Vector()};
40 >        List[] a = {new ArrayList(), new LinkedList(), new Vector()};
41  
42          for (int i=0; i<a.length; i++) {
43              List lst = a[i];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines