mirror of
https://github.com/square/okhttp.git
synced 2026-01-17 08:42:25 +03:00
Merge pull request #1687 from peknudsen/CallConstructorPrivateToProtected
Revert Call to a protected class instead of package-private
This commit is contained in:
@@ -44,7 +44,7 @@ public class Call {
|
||||
Request originalRequest;
|
||||
HttpEngine engine;
|
||||
|
||||
Call(OkHttpClient client, Request originalRequest) {
|
||||
protected Call(OkHttpClient client, Request originalRequest) {
|
||||
// Copy the client. Otherwise changes (socket factory, redirect policy,
|
||||
// etc.) may incorrectly be reflected in the request when it is executed.
|
||||
this.client = client.copyWithDefaults();
|
||||
|
||||
Reference in New Issue
Block a user