diff --git a/log4j.properties b/log4j.properties index aff155b..cfb0397 100644 --- a/log4j.properties +++ b/log4j.properties @@ -1,4 +1,4 @@ -log4j.rootLogger=TRACE,stdout +log4j.rootLogger=INFO,stdout log4j.com.jdbernard.teammaker=TRACE,file log4j.appender.stdout=org.apache.log4j.ConsoleAppender diff --git a/src/com/jdbernard/teammaker/Player.groovy b/src/com/jdbernard/teammaker/Player.groovy index ee82f8d..cea5613 100644 --- a/src/com/jdbernard/teammaker/Player.groovy +++ b/src/com/jdbernard/teammaker/Player.groovy @@ -5,7 +5,7 @@ public class Player implements Comparable { int gamesSat public int compareTo(Player that) { - int r = this.gamesSat - that.gamesSat + int r = that.gamesSat - this.gamesSat if (r == 0) r = this.name.compareTo(that.name) return r }