abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r555847 - /incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/AbderaClient.java
Date Fri, 13 Jul 2007 02:57:10 GMT
Author: jmsnell
Date: Thu Jul 12 19:57:09 2007
New Revision: 555847

URL: http://svn.apache.org/viewvc?view=rev&rev=555847
Log:
Undo a change that broke the caching

Modified:
    incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/AbderaClient.java

Modified: incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/AbderaClient.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/AbderaClient.java?view=diff&rev=555847&r1=555846&r2=555847
==============================================================================
--- incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/AbderaClient.java
(original)
+++ incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/AbderaClient.java
Thu Jul 12 19:57:09 2007
@@ -401,7 +401,7 @@
                  httpMethod.getStatusCode() == 412) &&
                 cached_response != null) return cached_response;
             ClientResponse response = new CommonsResponse(abdera,httpMethod);
-            response = usecache ?
+            response = options.getUseLocalCache() ?
               response = cache.update(options, response, cached_response) : 
               response;
             checkRequestException(response,options);



Mime
View raw message