@ Override public void close ( ) throws IOException { final byte [ ] localBuf = buf ; buf = null ; final InputStream localIn = in ; in = null ; pool . release ( localBuf ) ; if ( localIn != null ) { localIn . close ( ) ; } }
Closes this stream . The source stream is closed and any resources associated with it are released .