void flush(VcfWriter writer) throws IOException {
  if (mPrevRecord != null) {
    if (!mPrevDense) {
      writeCount(writer,mPrevRecord);
    }
 else {
      mVcfFilterStatistics.increment(Stat.DENSITY_WINDOW_COUNT);
    }
  }
  mPrevRecord=null;
  mPrevDense=false;
}

void flush ( VcfWriter writer ) throws IOException { if ( mPrevRecord != null ) { if ( ! mPrevDense ) { writeCount ( writer , mPrevRecord ) ; } else { mVcfFilterStatistics . increment ( Stat . DENSITY_WINDOW_COUNT ) ; } } mPrevRecord = null ; mPrevDense = false ; }
writes any remaining snp lines
