hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1055720 - /httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.java
Date Thu, 06 Jan 2011 02:54:42 GMT
Author: sebb
Date: Thu Jan  6 02:54:42 2011
New Revision: 1055720

URL: http://svn.apache.org/viewvc?rev=1055720&view=rev
Log:
Unnecessary cast

Modified:
    httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.java

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.java?rev=1055720&r1=1055719&r2=1055720&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/memcached/MemcachedHttpCacheStorage.java
Thu Jan  6 02:54:42 2011
@@ -77,7 +77,7 @@ public class MemcachedHttpCacheStorage i
         if (null == data)
             return null;
         InputStream bis = new ByteArrayInputStream(data);
-        return (HttpCacheEntry) serializer.readFrom(bis);
+        return serializer.readFrom(bis);
     }
 
     public void removeEntry(String url) throws IOException {



Mime
View raw message