You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/09/07 05:21:30 UTC

svn commit: r811980 - in /camel/trunk/components: camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyAsyncWithThreadsTest.java camel-jms/src/test/java/org/apache/camel/component/jms/JmsBindingTest.java

Author: ningjiang
Date: Mon Sep  7 03:21:24 2009
New Revision: 811980

URL: http://svn.apache.org/viewvc?rev=811980&view=rev
Log:
Fixed the CS and typo errors

Modified:
    camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyAsyncWithThreadsTest.java
    camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsBindingTest.java

Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyAsyncWithThreadsTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyAsyncWithThreadsTest.java?rev=811980&r1=811979&r2=811980&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyAsyncWithThreadsTest.java (original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyAsyncWithThreadsTest.java Mon Sep  7 03:21:24 2009
@@ -31,7 +31,7 @@
 public class JettyAsyncWithThreadsTest extends CamelTestSupport {
 
     private static final String ENDPOINT_NAME = "http://localhost:9876/asyncRouteTest";
-	private static String route = "";
+    private static String route = "";
 
     @Before
     public void setUp() throws Exception {
@@ -119,14 +119,14 @@
                         .transform(body().append(" World"))
                             // now turn the route into async from this point forward
                             // the caller will have a Future<Exchange> returned as response in OUT
-                            // to be used to grap the async response when he fell like it
+                            // to be used to grab the async response when he fell like it
                             // we do not want to wait for tasks to be complete so we instruct Camel
                             // to not wait, and therefore Camel returns the Future<Exchange> handle we
                             // can use to get the result when we want
                         .threads().waitForTaskToComplete(WaitForTaskToComplete.Never)
                             // from this point forward this is the async route doing its work
                             // so we do a bit of delay to simulate heavy work that takes time
-						.to("mock:foo")
+                            .to("mock:foo")
                         .delay(100)
                             // and we also work with the message so we can prepare a response
                         .process(new MyProcessor())

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsBindingTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsBindingTest.java?rev=811980&r1=811979&r2=811980&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsBindingTest.java (original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsBindingTest.java Mon Sep  7 03:21:24 2009
@@ -16,11 +16,11 @@
  */
 package org.apache.camel.component.jms;
 
-import static org.junit.Assert.assertNull;
-
 import org.apache.activemq.command.ActiveMQBlobMessage;
 import org.junit.Test;
 
+import static org.junit.Assert.assertNull;
+
 /**
  * @version $Revision$
  */