You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2017/05/09 20:01:55 UTC
[29/50] httpcomponents-core git commit: Camel-case lvar name.
Camel-case lvar name.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1792550 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/03a8746b
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/03a8746b
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/03a8746b
Branch: refs/heads/4.4.x
Commit: 03a8746b81f25d900dec1f0f6576d9a28a0780b0
Parents: a66c14d
Author: Gary D. Gregory <gg...@apache.org>
Authored: Mon Apr 24 21:39:36 2017 +0000
Committer: Gary D. Gregory <gg...@apache.org>
Committed: Mon Apr 24 21:39:36 2017 +0000
----------------------------------------------------------------------
.../main/java/org/apache/http/protocol/RequestTargetHost.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/03a8746b/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
----------------------------------------------------------------------
diff --git a/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java b/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
index 8221786..53f4051 100644
--- a/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
+++ b/httpcore/src/main/java/org/apache/http/protocol/RequestTargetHost.java
@@ -61,7 +61,7 @@ public class RequestTargetHost implements HttpRequestInterceptor {
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 implements HttpRequestInterceptor {
}
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