TABS -> SPACES
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
283bba855f
commit
c44b15f199
|
@ -36,7 +36,7 @@ import org.apache.http.client.cache.HttpCache;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements {@link HttpCache} using LinkedHashMap for backing store
|
* Implements {@link HttpCache} using LinkedHashMap for backing store
|
||||||
*
|
*
|
||||||
* @since 4.1
|
* @since 4.1
|
||||||
*/
|
*/
|
||||||
public class BasicHttpCache implements HttpCache<CacheEntry> {
|
public class BasicHttpCache implements HttpCache<CacheEntry> {
|
||||||
|
@ -94,7 +94,7 @@ public class BasicHttpCache implements HttpCache<CacheEntry> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void updateCacheEntry(
|
public synchronized void updateCacheEntry(
|
||||||
String url,
|
String url,
|
||||||
HttpCacheUpdateCallback<CacheEntry> callback) throws HttpCacheOperationException {
|
HttpCacheUpdateCallback<CacheEntry> callback) throws HttpCacheOperationException {
|
||||||
CacheEntry existingEntry = syncMap.get(url);
|
CacheEntry existingEntry = syncMap.get(url);
|
||||||
CacheEntry updated = callback.getUpdatedEntry(existingEntry);
|
CacheEntry updated = callback.getUpdatedEntry(existingEntry);
|
||||||
|
|
|
@ -64,5 +64,5 @@ public class HeaderConstants {
|
||||||
public static final String EXPECT = "Expect";
|
public static final String EXPECT = "Expect";
|
||||||
public static final String RANGE = "Range";
|
public static final String RANGE = "Range";
|
||||||
public static final String CONTENT_RANGE = "Content-Range";
|
public static final String CONTENT_RANGE = "Content-Range";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ import org.apache.http.impl.cookie.DateUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines if an HttpResponse can be cached.
|
* Determines if an HttpResponse can be cached.
|
||||||
*
|
*
|
||||||
* @since 4.1
|
* @since 4.1
|
||||||
*/
|
*/
|
||||||
public class ResponseCachingPolicy {
|
public class ResponseCachingPolicy {
|
||||||
|
|
|
@ -97,5 +97,5 @@ public class URIExtractor {
|
||||||
throw new RuntimeException("couldn't encode to UTF-8", uee);
|
throw new RuntimeException("couldn't encode to UTF-8", uee);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue