void flush(){
  String lastLine=lineBuilder.toString();
  if (!lastLine.isEmpty()) {
    mutableLines.add(lastLine);
  }
  int jN=mutableLines.size();
  Range<Integer> eofRange=Range.closedOpen(kN,kN + 1);
  while (range0s.size() < jN) {
    range0s.add(Formatter.EMPTY_RANGE);
  }
  range0s.add(eofRange);
  while (ranges.size() < jN) {
    ranges.add(Formatter.EMPTY_RANGE);
  }
  ranges.add(eofRange);
  while (range1s.size() < jN) {
    range1s.add(Formatter.EMPTY_RANGE);
  }
  range1s.add(eofRange);
  setLines(ImmutableList.copyOf(mutableLines));
}

void flush ( ) { String lastLine = lineBuilder . toString ( ) ; if ( ! lastLine . isEmpty ( ) ) { mutableLines . add ( lastLine ) ; } int jN = mutableLines . size ( ) ; Range < Integer > eofRange = Range . closedOpen ( kN , kN + 1 ) ; while ( range0s . size ( ) < jN ) { range0s . add ( Formatter . EMPTY_RANGE ) ; } range0s . add ( eofRange ) ; while ( ranges . size ( ) < jN ) { ranges . add ( Formatter . EMPTY_RANGE ) ; } ranges . add ( eofRange ) ; while ( range1s . size ( ) < jN ) { range1s . add ( Formatter . EMPTY_RANGE ) ; } range1s . add ( eofRange ) ; setLines ( ImmutableList . copyOf ( mutableLines ) ) ; }
flush any incomplete last line , then add the eof token into our data structures .
