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 Fri, 06 May 2016 11:16:22 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/5ae78520
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5ae78520
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5ae78520

Branch: refs/heads/master
Commit: 5ae785204643c5618acc0b1434e29dfb219516b3
Parents: 57aac0f
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri May 6 13:15:51 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri May 6 13:15:51 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/websocket/WebsocketComponent.java   | 2 +-
 .../component/websocket/WebsocketEndpointConfigurationTest.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5ae78520/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/WebsocketComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/WebsocketComponent.java
b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/WebsocketComponent.java
index d721020..e6c6c8f 100644
--- a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/WebsocketComponent.java
+++ b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/WebsocketComponent.java
@@ -339,7 +339,7 @@ public class WebsocketComponent extends UriEndpointComponent {
     protected Server createServer() throws Exception {
         Server server = null;
         if (minThreads == null && maxThreads == null && getThreadPool() ==
null) {
-            throw new RuntimeCamelException("Error creating JettyWebSocketServer. MinThreads/MaxThreads
or ThreadPool must be defined");        	
+            throw new RuntimeCamelException("Error creating JettyWebSocketServer. MinThreads/MaxThreads
or ThreadPool must be defined");
         }
         // configure thread pool if min/max given
         if (minThreads != null || maxThreads != null) {

http://git-wip-us.apache.org/repos/asf/camel/blob/5ae78520/components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketEndpointConfigurationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketEndpointConfigurationTest.java
b/components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketEndpointConfigurationTest.java
index 5e8a59b..b9542b6 100644
--- a/components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketEndpointConfigurationTest.java
+++ b/components/camel-websocket/src/test/java/org/apache/camel/component/websocket/WebsocketEndpointConfigurationTest.java
@@ -62,7 +62,7 @@ public class WebsocketEndpointConfigurationTest extends CamelTestSupport
{
         assertEquals("Get a worng maxIdleTime", "3000", maxIdleTime);
     }
     
-    @Test(expected=RuntimeException.class)
+    @Test(expected = RuntimeException.class)
     public void testSetServletNoMinThreadsNoMaxThreadsNoThreadPool() throws Exception {
         String uri = "websocket://localhost:" + port + "/bar?bufferSize=65000&maxIdleTime=3000";
         WebsocketEndpoint websocketEndpoint = (WebsocketEndpoint)context.getEndpoint(uri);


Mime
View raw message