public void close() throws IOException {
  if (!closed) {
    if (usesDefaultInflater)     inf.end();
    in.close();
    closed=true;
  }
}

public void close ( ) throws IOException { if ( ! closed ) { if ( usesDefaultInflater ) inf . end ( ) ; in . close ( ) ; closed = true ; } }
closes this input stream and releases any system resources associated with the stream .
