Not Immutable, but should be ThreadSafe

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@941943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-05-06 21:30:20 +00:00
parent fb47960bfa
commit 6f23db2533
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import org.apache.http.Header;
import org.apache.http.HeaderElement;
import org.apache.http.HttpHost;
import org.apache.http.HttpRequest;
import org.apache.http.annotation.Immutable;
import org.apache.http.annotation.ThreadSafe;
import org.apache.http.client.cache.HttpCache;
import org.apache.http.client.cache.HttpCacheOperationException;
@ -42,7 +42,7 @@ import org.apache.http.client.cache.HttpCacheOperationException;
*
* @since 4.1
*/
@Immutable
@ThreadSafe // so long as the cache implementation is thread-safe
public class CacheInvalidator {
private final HttpCache<CacheEntry> cache;