diff options
author | Max Cai <maxtroy@google.com> | 2014-02-10 17:08:32 +0000 |
---|---|---|
committer | Max Cai <maxtroy@google.com> | 2014-02-10 17:08:32 +0000 |
commit | 393504e5d9aaf1c79c52df482b70e3f80ac50765 (patch) | |
tree | 9c95d3014a846e0fb74652f8e5d9f774c5b1d59a /src | |
parent | 5bc98edbbdd61dcf1a8985e4450730826b9ac7f3 (diff) | |
download | volley-393504e5d9aaf1c79c52df482b70e3f80ac50765.tar.gz |
Fix generic type parameter for RequestQueue.add(Request)
Change-Id: If977c965c8ae3b4d00b958e65679e99a1d29a03a
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/volley/RequestQueue.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/volley/RequestQueue.java b/src/com/android/volley/RequestQueue.java index bfcd7d4..5c0e7af 100644 --- a/src/com/android/volley/RequestQueue.java +++ b/src/com/android/volley/RequestQueue.java @@ -213,7 +213,7 @@ public class RequestQueue { * @param request The request to service * @return The passed-in request */ - public Request<?> add(Request<?> request) { + public <T> Request<T> add(Request<T> request) { // Tag the request as belonging to this queue and add it to the set of current requests. request.setRequestQueue(this); synchronized (mCurrentRequests) { |