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

Comparing jsr166/src/test/jtreg/util/Collections/ReplaceAll.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:19 2010 UTC vs.
Revision 1.5 by jsr166, Mon Jan 8 03:12:03 2018 UTC

# Line 21 | Line 21
21   * questions.
22   */
23  
24 < /**
24 > /*
25   * @test
26   * @bug 4323074
27   * @summary Basic test for new replaceAll algorithm
28   */
29  
30 < import java.util.*;
30 > import java.util.ArrayList;
31 > import java.util.Collections;
32 > import java.util.LinkedList;
33 > import java.util.List;
34 > import java.util.Vector;
35  
36   public class ReplaceAll {
37      static final int SIZE = 20;
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