mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
bug fix
This commit is contained in:
@@ -40,6 +40,7 @@ public abstract class PagedIterator<T> implements Iterator<T> {
|
||||
private void fetch() {
|
||||
while (current==null || current.length<=pos) {
|
||||
current = base.next();
|
||||
wrapUp(current);
|
||||
pos = 0;
|
||||
}
|
||||
// invariant at the end: there's some data to retrieve
|
||||
|
||||
Reference in New Issue
Block a user