Immutable instance variable delcared as final
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@986115 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7a2818a56f
commit
5c33d5cfd9
|
@ -37,7 +37,7 @@ import org.apache.http.client.cache.HttpCacheUpdateCallback;
|
||||||
|
|
||||||
public class EhcacheHttpCache implements HttpCache {
|
public class EhcacheHttpCache implements HttpCache {
|
||||||
|
|
||||||
private Ehcache cache;
|
private final Ehcache cache;
|
||||||
|
|
||||||
public EhcacheHttpCache(Ehcache cache) {
|
public EhcacheHttpCache(Ehcache cache) {
|
||||||
this.cache = cache;
|
this.cache = cache;
|
||||||
|
|
Loading…
Reference in New Issue