String wrapper

This commit is contained in:
T00thpick1 2013-03-08 18:06:01 -05:00 committed by NuclearW
parent 44188396b4
commit 869b30fcaa
3 changed files with 18 additions and 0 deletions

View File

@ -37,6 +37,9 @@ public class AsyncQueueManager implements Runnable {
public boolean contains(String player) { public boolean contains(String player) {
<<<<<<< HEAD <<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> String wrapper
return queue.contains(new EqualString(player)); return queue.contains(new EqualString(player));
} }
@ -52,9 +55,12 @@ public class AsyncQueueManager implements Runnable {
} }
return false; return false;
} }
<<<<<<< HEAD
======= =======
return queue.contains(player); return queue.contains(player);
>>>>>>> One per player >>>>>>> One per player
=======
>>>>>>> String wrapper
} }
} }

View File

@ -63,11 +63,16 @@ public class McRankAsync implements Queueable {
======= =======
@Override @Override
<<<<<<< HEAD
public boolean equals(Object obj) { public boolean equals(Object obj) {
if (obj instanceof String) { if (obj instanceof String) {
return ((String)obj).equalsIgnoreCase(player); return ((String)obj).equalsIgnoreCase(player);
} }
return false; return false;
>>>>>>> One per player >>>>>>> One per player
=======
public String getPlayer() {
return player;
>>>>>>> String wrapper
} }
} }

View File

@ -68,6 +68,7 @@ public class McTopAsync implements Queueable {
} }
@Override @Override
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
public String getPlayer() { public String getPlayer() {
return player; return player;
@ -81,4 +82,10 @@ public class McTopAsync implements Queueable {
return false; return false;
} }
>>>>>>> One per player >>>>>>> One per player
=======
public String getPlayer() {
return player;
}
>>>>>>> String wrapper
} }