Fix generic type parameter for RequestQueue.add(Request)
Change-Id: If977c965c8ae3b4d00b958e65679e99a1d29a03a
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 @@
* @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) {