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

    if (buffer != null) {
      buffer = null;
    }
  }
@ Override public void close ( ) throws IOException { if ( inputStream != null ) { inputStream . close ( ) ; inputStream = null ; } if ( buffer != null ) { buffer = null ; } }
Closes current metrics reader with the associated input stream.
<p/>
{@inheritDoc}