project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/Player.java
changeset 7352 641f11cdd319
parent 7342 0e29eec2df5c
child 7358 57a508884052
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/Player.java	Sat Jul 21 14:56:52 2012 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/Player.java	Mon Jul 23 00:17:06 2012 +0200
@@ -3,7 +3,7 @@
 import java.util.Comparator;
 
 public class Player {
-	public static final ByNameComparator nameComparator = new ByNameComparator(); 
+	public static final ByNameComparator NAME_COMPARATOR = new ByNameComparator(); 
 
 	public final String name;
 	public final long id; // for ListView
@@ -13,7 +13,7 @@
 		this.id = id;
 	}
 	
-	private static class ByNameComparator implements Comparator<Player> {
+	private static final class ByNameComparator implements Comparator<Player> {
 		public int compare(Player lhs, Player rhs) {
 			return lhs.name.compareToIgnoreCase(rhs.name);
 		}