Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultah committed Feb 8, 2024
1 parent 46de11c commit b9ee418
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ record = recordIt.next();
writer.write(newPositionDeleteRecord(record, sourcePrefix, targetPrefix));
}

for (; recordIt.hasNext(); record = recordIt.next()) {
while (recordIt.hasNext()) {
record = recordIt.next();
writer.write(newPositionDeleteRecord(record, sourcePrefix, targetPrefix));
}
} finally {
Expand Down

0 comments on commit b9ee418

Please sign in to comment.