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

Comparing jsr166/src/test/extra166y/SortDemo.java (file contents):
Revision 1.3 by jsr166, Wed Sep 1 07:28:19 2010 UTC vs.
Revision 1.4 by jsr166, Sat Oct 16 16:38:37 2010 UTC

# Line 54 | Line 54 | class SortDemo {
54          System.out.printf("ParallelArray.sort time:     %7.3f\n", elapsed);
55      }
56  
57 <    static void checkSorted(Long[] a)  {
57 >    static void checkSorted(Long[] a) {
58          int n = a.length;
59          for (int i = 0; i < n - 1; i++) {
60              if (a[i].compareTo(a[i+1]) > 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines