Revert change for Java 7

This commit is contained in:
Peter Lawrey
2015-06-19 16:08:58 +01:00
parent 39ce75db82
commit 8ccdd3b6d3
@@ -108,7 +108,7 @@ public final class CharSequenceReader<S extends CharSequence>
try {
((AbstractBytes) bytes).readUTF0(appendable, (int) size);
} catch (IOException e) {
throw new UncheckedIOException(e);
throw new IllegalStateException(e);
}
if (appendable == toReuse)
return toReuse;