/guava/guava/src/com/google/common/io/CharSource.java
if ( !( lengthIfKnown.isPresent( ) ) ) {   return absent( ) ; }
[Delete]
} catch (UncheckedIOException e) { throw e.getCause(); } } public boolean isEmpty() throws IOException { Optional<Long> lengthIfKnown = lengthIfKnown(); <extra_id_0> return lengthIfKnown.get() == 0L; } Closer closer = Closer.create(); try { Reader reader = closer.register(openStream()); return reader.read() == -1;