diff options
Diffstat (limited to 'src/main/java/com/android/volley/toolbox/ClearCacheRequest.java')
-rw-r--r-- | src/main/java/com/android/volley/toolbox/ClearCacheRequest.java | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/main/java/com/android/volley/toolbox/ClearCacheRequest.java b/src/main/java/com/android/volley/toolbox/ClearCacheRequest.java index a3478bf..856ef80 100644 --- a/src/main/java/com/android/volley/toolbox/ClearCacheRequest.java +++ b/src/main/java/com/android/volley/toolbox/ClearCacheRequest.java @@ -16,26 +16,23 @@ package com.android.volley.toolbox; +import android.os.Handler; +import android.os.Looper; import com.android.volley.Cache; import com.android.volley.NetworkResponse; import com.android.volley.Request; import com.android.volley.Response; -import android.os.Handler; -import android.os.Looper; - -/** - * A synthetic request used for clearing the cache. - */ +/** A synthetic request used for clearing the cache. */ public class ClearCacheRequest extends Request<Object> { private final Cache mCache; private final Runnable mCallback; /** * Creates a synthetic request for clearing the cache. + * * @param cache Cache to clear - * @param callback Callback to make on the main thread once the cache is clear, - * or null for none + * @param callback Callback to make on the main thread once the cache is clear, or null for none */ public ClearCacheRequest(Cache cache, Runnable callback) { super(Method.GET, null, null); @@ -65,6 +62,5 @@ public class ClearCacheRequest extends Request<Object> { } @Override - protected void deliverResponse(Object response) { - } + protected void deliverResponse(Object response) {} } |