net/src/main/java/com/stanfy/enroscar/net/cache/BaseFileResponseCache.java
private InputStream newBodyInputStream(final DiskLruCache.Snapshot snapshot) {
    return new FilterInputStream(snapshot.getInputStream(ENTRY_BODY)) {
      @Override public void close() throws IOException {
        snapshot.close();
        super.close();
      }
    };
  }
private InputStream newBodyInputStream(final DiskLruCache.Snapshot snapshot) {
    return new FilterInputStream(snapshot.getInputStream(ENTRY_BODY)) {
      @Override public void close() throws IOException {
        snapshot.close();
        super.close();
      }
    };
  }
private InputStream newBodyInputStream ( final DiskLruCache . Snapshot snapshot ) { return new FilterInputStream ( snapshot . getInputStream ( ENTRY_BODY ) ) { @ Override public void close ( ) throws IOException { snapshot . close ( ) ; super . close ( ) ; } } ; }
Returns an input stream that reads the body of a snapshot, closing the
snapshot when the stream is closed.
Returns an input stream that reads the body of a snapshot closing the snapshot when the stream is closed .