mirror of
https://github.com/square/okhttp.git
synced 2026-01-24 04:02:07 +03:00
Merge pull request #325 from square/jw/hide-missed-2.0-api
Hide a 2.0 API that was left public.
This commit is contained in:
@@ -331,7 +331,7 @@ public final class OkHttpClient implements URLStreamHandlerFactory {
|
||||
* Cancels all scheduled tasks tagged with {@code tag}. Requests that are already
|
||||
* in flight might not be canceled.
|
||||
*/
|
||||
public void cancel(Object tag) {
|
||||
/* OkHttp 2.0: public */ void cancel(Object tag) {
|
||||
dispatcher.cancel(tag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user