On 25 February 2014 14:46, <[email protected]> wrote: > Author: olegk > Date: Tue Feb 25 14:46:07 2014 > New Revision: 1571715 > > URL: http://svn.apache.org/r1571715 > Log: > Made AsynchronousValidationRequest public
Should this be applied to 4.3.x as well? I'm happy to do it if so. > Modified: > > httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java > > Modified: > httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java > URL: > http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java?rev=1571715&r1=1571714&r2=1571715&view=diff > ============================================================================== > --- > httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java > (original) > +++ > httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/AsynchronousValidationRequest.java > Tue Feb 25 14:46:07 2014 > @@ -45,7 +45,7 @@ import org.apache.http.conn.routing.Http > * Class used to represent an asynchronous revalidation event, such as with > * "stale-while-revalidate" > */ > -class AsynchronousValidationRequest implements Runnable { > +public class AsynchronousValidationRequest implements Runnable { > private final AsynchronousValidator parent; > private final CachingExec cachingExec; > private final HttpRoute route; > @@ -108,7 +108,7 @@ class AsynchronousValidationRequest impl > * @return <code>true</code> if the cache entry was successfully > validated; > * otherwise <code>false</code> > */ > - protected boolean revalidateCacheEntry() { > + private boolean revalidateCacheEntry() { > try { > final CloseableHttpResponse httpResponse = > cachingExec.revalidateCacheEntry(route, request, context, execAware, > cacheEntry); > try { > @@ -164,7 +164,7 @@ class AsynchronousValidationRequest impl > return true; > } > > - String getIdentifier() { > + public String getIdentifier() { > return identifier; > } > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
