mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-05 22:15:54 +02:00
Merge pull request #222 from roidelapluie/fix221
Fix #221 - Cast pair.first as integer
This commit is contained in:
commit
cdb25f3183
@ -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 ((Integer) pair.first == id) {
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user