in src/main/java/com/googlesource/gerrit/plugins/renameproject/monitor/CommandProgressMonitor.java [94:111]
protected void sendUpdate() {
if (!write) {
return;
}
StringBuilder output = new StringBuilder();
writeTaskName(output);
writeDetails(output);
if (taskDone) {
output.append("\n");
}
try {
out.write(output.toString());
out.flush();
} catch (IOException err) {
write = false;
log.error("Failed to send update to the progress monitor:", err);
}
}