hc-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1055727&view=rev
Log:
Make private immutable fields final

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=1055727&r1=1055726&r2=1055727&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 03:06:51 2011
@@ -47,8 +47,8 @@ import org.apache.http.impl.client.cache
 
 public class MemcachedHttpCacheStorage implements HttpCacheStorage {
 
-    private MemcachedClientIF client;
-    private HttpCacheEntrySerializer serializer;
+    private final MemcachedClientIF client;
+    private final HttpCacheEntrySerializer serializer;
     private final int maxUpdateRetries;
 
     public MemcachedHttpCacheStorage(InetSocketAddress address) throws IOException {



Mime
View raw message