camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject [2/2] camel git commit: Fix CS
Date Wed, 02 Sep 2015 23:39:11 GMT
Fix CS


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

Branch: refs/heads/master
Commit: 4f3ccee409c039647dbc4f0bdbcbbcdacded40ca
Parents: b975c30
Author: Jonathan Anstey <janstey@gmail.com>
Authored: Wed Sep 2 21:04:51 2015 -0230
Committer: Jonathan Anstey <janstey@gmail.com>
Committed: Wed Sep 2 21:04:51 2015 -0230

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


http://git-wip-us.apache.org/repos/asf/camel/blob/4f3ccee4/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpPathTest.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpPathTest.java
b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpPathTest.java
index fe6f0f1..465854f 100644
--- a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpPathTest.java
+++ b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpPathTest.java
@@ -84,8 +84,7 @@ public class HttpPathTest extends BaseHttpTest {
 
     @Test
     public void httpPathHeaderWithStaticQueryParams() throws Exception {
-        Exchange exchange = template.request("http4://" + localServer.getInetAddress().getHostName()
+ ":" + localServer.getLocalPort() +
-                "?abc=123", new Processor() {
+        Exchange exchange = template.request("http4://" + localServer.getInetAddress().getHostName()
+ ":" + localServer.getLocalPort() + "?abc=123", new Processor() {
             public void process(Exchange exchange) throws Exception {
                 exchange.getIn().setHeader(Exchange.HTTP_PATH, "testWithQueryParams");
             }
@@ -97,8 +96,7 @@ public class HttpPathTest extends BaseHttpTest {
 
     @Test
     public void httpPathHeaderWithBaseSlashesAndWithStaticQueryParams() throws Exception
{
-        Exchange exchange = template.request("http4://" + localServer.getInetAddress().getHostName()
+ ":" + localServer.getLocalPort() + "/" +
-                "?abc=123", new Processor() {
+        Exchange exchange = template.request("http4://" + localServer.getInetAddress().getHostName()
+ ":" + localServer.getLocalPort() + "/" + "?abc=123", new Processor() {
             public void process(Exchange exchange) throws Exception {
                 exchange.getIn().setHeader(Exchange.HTTP_PATH, "/testWithQueryParams");
             }


Mime
View raw message