mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-11 12:39:26 +01:00
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) {
|
public void remove(int id) {
|
||||||
for (Iterator<Pair> iter = list.iterator(); iter.hasNext(); ) {
|
for (Iterator<Pair> iter = list.iterator(); iter.hasNext(); ) {
|
||||||
Pair pair = iter.next();
|
Pair pair = iter.next();
|
||||||
if (pair.first == id) {
|
if (((int)pair.first) == id) {
|
||||||
iter.remove();
|
iter.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user