hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406435 - /httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java
Date Wed, 07 Nov 2012 03:23:35 GMT
Author: sebb
Date: Wed Nov  7 03:23:35 2012
New Revision: 1406435

URL: http://svn.apache.org/viewvc?rev=1406435&view=rev
Log:
Explicit Boolean rather than boxing

Modified:
    httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java?rev=1406435&r1=1406434&r2=1406435&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java
Wed Nov  7 03:23:35 2012
@@ -462,7 +462,7 @@ public class CachingHttpClient implement
         	context.setAttribute(ExecutionContext.HTTP_TARGET_HOST, target);
         	context.setAttribute(ExecutionContext.HTTP_REQUEST, request);
         	context.setAttribute(ExecutionContext.HTTP_RESPONSE, out);
-        	context.setAttribute(ExecutionContext.HTTP_REQ_SENT, true);
+        	context.setAttribute(ExecutionContext.HTTP_REQ_SENT, Boolean.TRUE);
         }
         return out;
     }



Mime
View raw message