hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1792550 - /httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
Date Mon, 24 Apr 2017 21:39:37 GMT
Author: ggregory
Date: Mon Apr 24 21:39:36 2017
New Revision: 1792550

URL: http://svn.apache.org/viewvc?rev=1792550&view=rev
Log:
Camel-case lvar name.

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java?rev=1792550&r1=1792549&r2=1792550&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
(original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
Mon Apr 24 21:39:36 2017
@@ -61,7 +61,7 @@ public class RequestTargetHost implement
             throws HttpException, IOException {
         Args.notNull(request, "HTTP request");
 
-        final HttpCoreContext corecontext = HttpCoreContext.adapt(context);
+        final HttpCoreContext coreContext = HttpCoreContext.adapt(context);
 
         final ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
         final String method = request.getRequestLine().getMethod();
@@ -70,9 +70,9 @@ public class RequestTargetHost implement
         }
 
         if (!request.containsHeader(HTTP.TARGET_HOST)) {
-            HttpHost targethost = corecontext.getTargetHost();
+            HttpHost targethost = coreContext.getTargetHost();
             if (targethost == null) {
-                final HttpConnection conn = corecontext.getConnection();
+                final HttpConnection conn = coreContext.getConnection();
                 if (conn instanceof HttpInetConnection) {
                     // Populate the context with a default HTTP host based on the
                     // inet address of the target host



Mime
View raw message