1
0
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:
Jesse Wilson
2013-10-11 13:44:31 -07:00

View File

@@ -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);
}