@Override public void flush() throws IOException {
  if (writer != null) {
    writer.flush();
  }
}

@ Override public void flush ( ) throws IOException { if ( writer != null ) { writer . flush ( ) ; } }
flush the underlying writer .
