mirror of
https://github.com/square/okhttp.git
synced 2025-11-26 06:43:09 +03:00
Merge pull request #2105 from square/jw/no-throws
Remove IOException from source() and streams.
This commit is contained in:
@@ -84,7 +84,7 @@ public final class Progress {
|
||||
return responseBody.contentLength();
|
||||
}
|
||||
|
||||
@Override public BufferedSource source() throws IOException {
|
||||
@Override public BufferedSource source() {
|
||||
if (bufferedSource == null) {
|
||||
bufferedSource = Okio.buffer(source(responseBody.source()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user