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

View File

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

View File

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