Skip to content

Commit

Permalink
remove okhttp internal util
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianha committed Jun 13, 2023
1 parent 3f7507b commit b8c6075
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import java.util.zip.GZIPOutputStream;
import okhttp3.MediaType;
import okhttp3.RequestBody;
import okhttp3.internal.Util;
import okio.BufferedSink;
import okio.ByteString;
import okio.Okio;
Expand Down Expand Up @@ -152,7 +151,7 @@ public void writeTo(BufferedSink sink) throws IOException {
source = Okio.source(inputStream);
sink.writeAll(source);
} finally {
Util.closeQuietly(source);
source.close();
}
}
};
Expand Down

0 comments on commit b8c6075

Please sign in to comment.