public void finish() throws IOException {
  try {
    if (out != null) {
      out.flush();
      out=null;
    }
  }
  finally {
    compressAlgo.returnCompressor(compressor);
    compressor=null;
  }
}

public void finish ( ) throws IOException { try { if ( out != null ) { out . flush ( ) ; out = null ; } } finally { compressAlgo . returnCompressor ( compressor ) ; compressor = null ; } }
finishing up the current block .
