private void flushBuffer(boolean logNotFinished) {
    if (logNotFinished) logNonFinished();
    buffer.flushBuffer(delegateListener);
    listModel.freezeElements();
  }
private void flushBuffer(boolean logNotFinished)