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

Comparing jsr166/src/test/loops/TSPExchangerTest.java (file contents):
Revision 1.8 by jsr166, Mon Nov 2 23:42:46 2009 UTC vs.
Revision 1.9 by jsr166, Mon Nov 2 23:51:32 2009 UTC

# Line 577 | Line 577 | public class TSPExchangerTest {
577          }
578  
579          public int compareTo(Object x) { // to enable sorting
580 <            int xf = ((Chromosome)x).fitness;
580 >            int xf = ((Chromosome) x).fitness;
581              int f = fitness;
582              return ((f == xf) ? 0 :((f < xf) ? -1 : 1));
583          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines