File: 0008_fix_TournamentPointsTableRow_java.patch

package info (click to toggle)
filler 1.02-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,348 kB
  • sloc: java: 4,211; sh: 46; makefile: 41; xml: 29
file content (13 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: filler-1.02/src/friendless/games/filler/TournamentPointsTableRow.java
===================================================================
--- filler-1.02.orig/src/friendless/games/filler/TournamentPointsTableRow.java
+++ filler-1.02/src/friendless/games/filler/TournamentPointsTableRow.java
@@ -78,7 +78,7 @@ public class TournamentPointsTableRow im
     public int compareTo(TournamentPointsTableRow other) {
         if (this.getWon() != other.getWon()) {
             // wins aren't equal
-            return (other.getWon() - this.getWon());; // use wins to seperate teams
+            return (other.getWon() - this.getWon()); // use wins to seperate teams
         } else {
             return (other.getDiff() - this.getDiff()); //else use goal difference to seperate teams
         }