1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-24 04:02:07 +03:00

Hide a 2.0 API that was left public.

This commit is contained in:
Jake Wharton
2013-10-10 18:23:11 -07:00
parent 5538ed21d7
commit cd727cd349

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