From 4e3cbc31a74c60615d5244300e276ff772f5b3ab Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Wed, 7 Nov 2012 03:23:35 +0000 Subject: [PATCH] Explicit Boolean rather than boxing git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406435 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/impl/client/cache/CachingHttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java index f9445b093..290a40375 100644 --- a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java +++ b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CachingHttpClient.java @@ -462,7 +462,7 @@ public class CachingHttpClient implements HttpClient { 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; }