mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 12:20:11 +02:00
Setting an index in iterator correctly.
This commit is contained in:
parent
3952733b85
commit
03411559cf
@ -66,7 +66,7 @@ public abstract class VariableSizeList<T> extends AbstractSequentialList<T> {
|
|||||||
return VariableSizeList.this.readNextItem(reader, index);
|
return VariableSizeList.this.readNextItem(reader, index);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
while (index++ > 0) {
|
for (int i=0; i<index; i++) {
|
||||||
iterator.next();
|
iterator.next();
|
||||||
}
|
}
|
||||||
return iterator;
|
return iterator;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user