|
@@ -27,7 +27,7 @@ import java.util.List;
|
|
|
import java.util.Random;
|
|
|
import java.util.concurrent.ExecutorService;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
-import android.support.annotation.Nullable;
|
|
|
+import javax.annotation.Nullable;
|
|
|
import javax.net.SocketFactory;
|
|
|
import javax.net.ssl.HostnameVerifier;
|
|
|
import javax.net.ssl.SSLContext;
|
|
@@ -551,7 +551,7 @@ public class OkHttpClient implements Cloneable, Call.Factory, WebSocket.Factory
|
|
|
* body, server processing, and reading the response body. If the call requires redirects or
|
|
|
* retries all must complete within one timeout period.
|
|
|
*/
|
|
|
- @android.support.annotation.Nullable
|
|
|
+ @IgnoreJRERequirement
|
|
|
public Builder callTimeout(Duration duration) {
|
|
|
callTimeout = checkDuration("timeout", duration.toMillis(), TimeUnit.MILLISECONDS);
|
|
|
return this;
|