Fixed CS

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

Branch: refs/heads/master
Commit: ba5c56f551fba1b0fb647b08973d6b03dece7225
Parents: 6473653
Author: Claus Ibsen <davscl...@apache.org>
Authored: Fri Jul 17 09:44:07 2015 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Fri Jul 17 09:44:07 2015 +0200

----------------------------------------------------------------------
 .../component/netty/http/NettyHttpSSLHandshakeErrorTest.java   | 6 ++++--
 .../component/netty4/http/NettyHttpSSLHandshakeErrorTest.java  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ba5c56f5/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSSLHandshakeErrorTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSSLHandshakeErrorTest.java
 
b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSSLHandshakeErrorTest.java
index b6b45b5..73958fa 100644
--- 
a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSSLHandshakeErrorTest.java
+++ 
b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSSLHandshakeErrorTest.java
@@ -39,7 +39,8 @@ public class NettyHttpSSLHandshakeErrorTest extends 
BaseNettyTest {
 
         context.addRoutes(new RouteBuilder() {
             public void configure() {
-                
from("netty-http:https://localhost:{{port}}?ssl=true&needClientAuth=true&keyStoreFormat=JKS&passphrase=storepassword&keyStoreResource=jsse/server-keystore.jks&trustStoreResource=jsse/server-truststore.jks";)
+                
from("netty-http:https://localhost:{{port}}?ssl=true&needClientAuth=true&keyStoreFormat=JKS";
+                        + 
"&passphrase=storepassword&keyStoreResource=jsse/server-keystore.jks&trustStoreResource=jsse/server-truststore.jks")
                         .to("mock:target");
             }
         });
@@ -47,7 +48,8 @@ public class NettyHttpSSLHandshakeErrorTest extends 
BaseNettyTest {
 
         DefaultExchange exchange = new DefaultExchange(context);
 
-        Exchange response = 
template.send("netty-http:https://localhost:{{port}}?requestTimeout=10000&throwExceptionOnFailure=false&ssl=true&keyStoreFormat=JKS&passphrase=storepassword&keyStoreResource=jsse/client-keystore.jks&trustStoreResource=jsse/server-truststore.jks";,
 exchange);
+        Exchange response = 
template.send("netty-http:https://localhost:{{port}}?requestTimeout=10000&throwExceptionOnFailure=false";
+                + 
"&ssl=true&keyStoreFormat=JKS&passphrase=storepassword&keyStoreResource=jsse/client-keystore.jks&trustStoreResource=jsse/server-truststore.jks",
 exchange);
 
         Exception ex = response.getException();
 

http://git-wip-us.apache.org/repos/asf/camel/blob/ba5c56f5/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpSSLHandshakeErrorTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpSSLHandshakeErrorTest.java
 
b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpSSLHandshakeErrorTest.java
index f917d48..d0b3bf7 100644
--- 
a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpSSLHandshakeErrorTest.java
+++ 
b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpSSLHandshakeErrorTest.java
@@ -39,7 +39,8 @@ public class NettyHttpSSLHandshakeErrorTest extends 
BaseNettyTest {
 
         context.addRoutes(new RouteBuilder() {
             public void configure() {
-                
from("netty4-http:https://localhost:{{port}}?ssl=true&needClientAuth=true&keyStoreFormat=JKS&passphrase=storepassword&keyStoreResource=jsse/server-keystore.jks&trustStoreResource=jsse/server-truststore.jks";)
+                
from("netty4-http:https://localhost:{{port}}?ssl=true&needClientAuth=true&keyStoreFormat=JKS";
+                        + 
"&passphrase=storepassword&keyStoreResource=jsse/server-keystore.jks&trustStoreResource=jsse/server-truststore.jks")
                         .to("mock:target");
             }
         });
@@ -47,7 +48,8 @@ public class NettyHttpSSLHandshakeErrorTest extends 
BaseNettyTest {
 
         DefaultExchange exchange = new DefaultExchange(context);
 
-        Exchange response = 
template.send("netty4-http:https://localhost:{{port}}?requestTimeout=10000&throwExceptionOnFailure=false&ssl=true&keyStoreFormat=JKS&passphrase=storepassword&keyStoreResource=jsse/client-keystore.jks&trustStoreResource=jsse/server-truststore.jks";,
 exchange);
+        Exchange response = 
template.send("netty4-http:https://localhost:{{port}}?requestTimeout=10000&throwExceptionOnFailure=false";
+                + 
"&ssl=true&keyStoreFormat=JKS&passphrase=storepassword&keyStoreResource=jsse/client-keystore.jks&trustStoreResource=jsse/server-truststore.jks",
 exchange);
 
         Exception ex = response.getException();
 

Reply via email to