camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/2] camel git commit: Fixed CS
Date Tue, 02 Aug 2016 12:20:41 GMT
Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/882ce262
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/882ce262
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/882ce262

Branch: refs/heads/master
Commit: 882ce262287aa9c599ee971c6701a31cee15753c
Parents: 6329f57
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Tue Aug 2 14:20:12 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Tue Aug 2 14:20:12 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/http4/HttpEndpoint.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/882ce262/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
index 785940b..3a5cc18 100644
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpEndpoint.java
@@ -156,7 +156,7 @@ public class HttpEndpoint extends HttpCommonEndpoint {
                 HttpHost proxy = new HttpHost(host, port, scheme);
                 clientBuilder.setProxy(proxy);
             } else {
-            	if (ObjectHelper.isNotEmpty(getProxyHost()) && ObjectHelper.isNotEmpty(getProxyPort()))
{
+                if (ObjectHelper.isNotEmpty(getProxyHost()) && ObjectHelper.isNotEmpty(getProxyPort()))
{
                     String scheme = getProtocol();
                     // fallback and use either http or https depending on secure
                     if (scheme == null) {
@@ -164,7 +164,7 @@ public class HttpEndpoint extends HttpCommonEndpoint {
                     }
                     HttpHost proxy = new HttpHost(getProxyHost(), getProxyPort(), scheme);
                     clientBuilder.setProxy(proxy);
-            	}
+                }
             }
         } else {
             clientBuilder.useSystemProperties();


Mime
View raw message