Android studio 2 complains about this comparison otherwise
This commit is contained in:
parent
e7c93ca1c3
commit
f9d2fddb7a
|
@ -23,7 +23,7 @@ public class LimitedQueue {
|
|||
public void remove(int id) {
|
||||
for (Iterator<Pair> iter = list.iterator(); iter.hasNext(); ) {
|
||||
Pair pair = iter.next();
|
||||
if (pair.first == id) {
|
||||
if (((int)pair.first) == id) {
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue