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

Comparing jsr166/src/test/extra166y/ParallelArraySortDemo.java (file contents):
Revision 1.3 by jsr166, Wed Sep 1 07:28:19 2010 UTC vs.
Revision 1.5 by jsr166, Tue Mar 15 19:47:04 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7   import jsr166y.*;
# Line 44 | Line 44 | class ParallelArraySortDemo {
44          fjpool.shutdown();
45      }
46  
47 <    static void checkSorted(Long[] a)  {
47 >    static void checkSorted(Long[] a) {
48          int n = a.length;
49          for (int i = 0; i < n - 1; i++) {
50              if (a[i].compareTo(a[i+1]) > 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines