camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1143242 - in /camel/trunk/camel-core/src: main/java/org/apache/camel/processor/interceptor/ test/java/org/apache/camel/impl/ test/java/org/apache/camel/processor/onexception/
Date Wed, 06 Jul 2011 01:49:35 GMT
Author: ningjiang
Date: Wed Jul  6 01:49:34 2011
New Revision: 1143242

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

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/interceptor/DefaultTraceEventMessage.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/onexception/OnExceptionHandleAndTransformWithDefaultErrorHandlerTest.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/interceptor/DefaultTraceEventMessage.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/interceptor/DefaultTraceEventMessage.java?rev=1143242&r1=1143241&r2=1143242&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/interceptor/DefaultTraceEventMessage.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/interceptor/DefaultTraceEventMessage.java
Wed Jul  6 01:49:34 2011
@@ -16,6 +16,9 @@
  */
 package org.apache.camel.processor.interceptor;
 
+import java.io.Serializable;
+import java.util.Date;
+
 import org.apache.camel.Exchange;
 import org.apache.camel.Message;
 import org.apache.camel.RouteNode;
@@ -23,9 +26,6 @@ import org.apache.camel.model.ProcessorD
 import org.apache.camel.spi.TracedRouteNodes;
 import org.apache.camel.util.MessageHelper;
 
-import java.io.Serializable;
-import java.util.Date;
-
 /**
  * Default {@link TraceEventMessage}.
  */

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java?rev=1143242&r1=1143241&r2=1143242&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/impl/StringDataFormatTest.java Wed
Jul  6 01:49:34 2011
@@ -16,13 +16,17 @@
  */
 package org.apache.camel.impl;
 
-import org.apache.camel.*;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.mock.MockEndpoint;
-
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 
+import org.apache.camel.CamelContext;
+import org.apache.camel.Exchange;
+import org.apache.camel.Processor;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.TestSupport;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+
 /**
  * Unit test of the string data format.
  */

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/onexception/OnExceptionHandleAndTransformWithDefaultErrorHandlerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/onexception/OnExceptionHandleAndTransformWithDefaultErrorHandlerTest.java?rev=1143242&r1=1143241&r2=1143242&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/onexception/OnExceptionHandleAndTransformWithDefaultErrorHandlerTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/onexception/OnExceptionHandleAndTransformWithDefaultErrorHandlerTest.java
Wed Jul  6 01:49:34 2011
@@ -99,7 +99,7 @@ public class OnExceptionHandleAndTransfo
         });
 
 
-        Exchange exch = template.request("direct:start",new Processor() {
+        Exchange exch = template.request("direct:start", new Processor() {
             public void process(Exchange exchange) {
                 exchange.getIn().setBody("Hello World");
             }



Mime
View raw message