svn commit: r803421 - in /camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning: PerformanceRoutePojoTest.java PerformanceRouteTest.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r803421 - in /camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning: PerformanceRoutePojoTest.java PerformanceRouteTest.java

ningjiang
Author: ningjiang
Date: Wed Aug 12 09:21:32 2009
New Revision: 803421

URL: http://svn.apache.org/viewvc?rev=803421&view=rev
Log:
Fixed the CS errors of camel-jms

Modified:
    camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRoutePojoTest.java
    camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRouteTest.java

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRoutePojoTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRoutePojoTest.java?rev=803421&r1=803420&r2=803421&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRoutePojoTest.java (original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRoutePojoTest.java Wed Aug 12 09:21:32 2009
@@ -26,12 +26,12 @@
  */
 public class PerformanceRoutePojoTest extends CamelSpringTestSupport {
 
+    private int size = 200;
+    
     protected AbstractXmlApplicationContext createApplicationContext() {
         return new ClassPathXmlApplicationContext("org/apache/camel/component/jms/tuning/PerformanceRoutePojoTest-context.xml");
     }
 
-    private int size = 200;
-
     @Test
     public void testPojoPerformance() throws Exception {
         if (!canRunOnThisPlatform()) {
@@ -51,7 +51,7 @@
             if (i % 10 == 0) {
                 type = "silver";
             } else if (i % 2 == 0) {
-                 type = "gold";
+                type = "gold";
             } else {
                 type = "bronze";
             }

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRouteTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRouteTest.java?rev=803421&r1=803420&r2=803421&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRouteTest.java (original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tuning/PerformanceRouteTest.java Wed Aug 12 09:21:32 2009
@@ -21,10 +21,12 @@
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.camel.CamelContext;
 import org.apache.camel.builder.RouteBuilder;
-import static org.apache.camel.component.jms.JmsComponent.jmsComponentClientAcknowledge;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
+import static org.apache.camel.component.jms.JmsComponent.jmsComponentClientAcknowledge;
+
+
 /**
  * @version $Revision$
  */
@@ -51,7 +53,7 @@
             if (i % 10 == 0) {
                 type = "silver";
             } else if (i % 2 == 0) {
-                 type = "gold";
+                type = "gold";
             } else {
                 type = "bronze";
             }