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

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

# Line 39 | Line 39 | public class SubMapClear {
39          Set subSet = treeSet.subSet(new Integer(4),new Integer(10));
40          subSet.clear();  // Used to throw exception
41  
42 <        int a[] = new int[] {1, 2, 3, 10};
42 >        int[] a = { 1, 2, 3, 10 };
43          Set s = new TreeSet();
44          for (int i = 0; i < a.length; i++)
45              s.add(new Integer(a[i]));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines