1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-30 02:24:39 +02:00

Android studio 2 complains about this comparison otherwise

This commit is contained in:
Daniele Gobbetti 2016-01-28 11:12:28 +01:00
parent e7c93ca1c3
commit f9d2fddb7a

View File

@ -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();
}
}