hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1558051 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/execchain/ProtocolExec.java
Date Tue, 14 Jan 2014 14:41:38 GMT
Author: ggregory
Date: Tue Jan 14 14:41:37 2014
New Revision: 1558051

URL: http://svn.apache.org/r1558051
Log:
The static fields in HttpCoreContext should be accessed directly.

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/execchain/ProtocolExec.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/execchain/ProtocolExec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/execchain/ProtocolExec.java?rev=1558051&r1=1558050&r2=1558051&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/execchain/ProtocolExec.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/execchain/ProtocolExec.java
Tue Jan 14 14:41:37 2014
@@ -196,7 +196,7 @@ public class ProtocolExec implements Cli
             context, execAware);
         try {
             // Run response protocol interceptors
-            context.setAttribute(HttpClientContext.HTTP_RESPONSE, response);
+            context.setAttribute(HttpCoreContext.HTTP_RESPONSE, response);
             this.httpProcessor.process(response, context);
             return response;
         } catch (final RuntimeException ex) {



Mime
View raw message