Bug: 321502
Change-Id: Ic4bc49a0da90234271aea7c0a4e344a1c3620cfc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
if (walker == null || size > highMark)
return;
- Generator p = walker.pending;
- RevCommit c = p.next();
+ RevCommit c = walker.next();
if (c == null) {
- walker.pending = EndGenerator.INSTANCE;
walker = null;
return;
}
enter(size, (E) c);
add((E) c);
- p = walker.pending;
while (size <= highMark) {
int index = size;
final Object[] dst = s.contents;
while (size <= highMark && index < BLOCK_SIZE) {
- c = p.next();
+ c = walker.next();
if (c == null) {
- walker.pending = EndGenerator.INSTANCE;
walker = null;
return;
}