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.4 by jsr166, Sat Oct 21 00:44:23 2017 UTC vs.
Revision 1.5 by jsr166, Sun Oct 22 02:59:18 2017 UTC

# Line 37 | 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