in src/main/java/com/googlesource/gerrit/plugins/reviewnotes/ExportReviewNotes.java [129:146]
public void run() {
try {
for (; ; ) {
Map.Entry<Project.NameKey, List<ChangeNotes>> next = next();
if (next != null) {
try {
export(next.getKey(), next.getValue());
} catch (RestApiException | UpdateException e) {
stderr.println(e.getMessage());
}
} else {
break;
}
}
} finally {
monitor.endWorker();
}
}