camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r821339 - in /camel/trunk/camel-core/src: main/java/org/apache/camel/management/mbean/ test/java/org/apache/camel/ test/java/org/apache/camel/converter/ test/java/org/apache/camel/language/ test/java/org/apache/camel/processor/
Date Sat, 03 Oct 2009 15:42:02 GMT
Author: davsclaus
Date: Sat Oct  3 15:42:01 2009
New Revision: 821339

URL: http://svn.apache.org/viewvc?rev=821339&view=rev
Log:
Fixed CS

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedService.java
    camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedTracer.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/CamelExceptionsTest.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/converter/StaticDummyFallbackConverter.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/language/SimpleTest.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DualPipelineTest.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedService.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedService.java?rev=821339&r1=821338&r2=821339&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedService.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedService.java
Sat Oct  3 15:42:01 2009
@@ -20,8 +20,8 @@
 import org.apache.camel.Route;
 import org.apache.camel.Service;
 import org.apache.camel.ServiceStatus;
-import org.apache.camel.spi.ManagementStrategy;
 import org.apache.camel.impl.ServiceSupport;
+import org.apache.camel.spi.ManagementStrategy;
 import org.springframework.jmx.export.annotation.ManagedAttribute;
 import org.springframework.jmx.export.annotation.ManagedOperation;
 import org.springframework.jmx.export.annotation.ManagedResource;

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedTracer.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedTracer.java?rev=821339&r1=821338&r2=821339&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedTracer.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedTracer.java
Sat Oct  3 15:42:01 2009
@@ -18,8 +18,8 @@
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.LoggingLevel;
-import org.apache.camel.spi.ManagementStrategy;
 import org.apache.camel.processor.interceptor.Tracer;
+import org.apache.camel.spi.ManagementStrategy;
 import org.apache.camel.util.ObjectHelper;
 import org.springframework.jmx.export.annotation.ManagedAttribute;
 import org.springframework.jmx.export.annotation.ManagedResource;

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/CamelExceptionsTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/CamelExceptionsTest.java?rev=821339&r1=821338&r2=821339&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/CamelExceptionsTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/CamelExceptionsTest.java Sat Oct
 3 15:42:01 2009
@@ -37,8 +37,8 @@
         Exchange exchange = new DefaultExchange(context);
 
         ExpressionEvaluationException e = new ExpressionEvaluationException(exp, exchange,
new IllegalArgumentException("Damn"));
-        assertSame(exchange ,e.getExchange());
-        assertSame(exp ,e.getExpression());
+        assertSame(exchange, e.getExchange());
+        assertSame(exp, e.getExpression());
         assertNotNull(e.getCause());
     }
 

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/converter/StaticDummyFallbackConverter.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/converter/StaticDummyFallbackConverter.java?rev=821339&r1=821338&r2=821339&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/converter/StaticDummyFallbackConverter.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/converter/StaticDummyFallbackConverter.java
Sat Oct  3 15:42:01 2009
@@ -27,7 +27,10 @@
  * @version $Revision$
  */
 @Converter
-public class StaticDummyFallbackConverter {
+public final class StaticDummyFallbackConverter {
+
+    private StaticDummyFallbackConverter() {
+    }
 
     @FallbackConverter
     public static Object convertTo(Class<?> type, Exchange exchange, Object value,
TypeConverterRegistry registry) {

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/language/SimpleTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/language/SimpleTest.java?rev=821339&r1=821338&r2=821339&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/language/SimpleTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/language/SimpleTest.java Sat Oct
 3 15:42:01 2009
@@ -16,13 +16,11 @@
  */
 package org.apache.camel.language;
 
-import java.util.Date;
 import java.util.Calendar;
 import java.util.GregorianCalendar;
 
 import org.apache.camel.ExpressionIllegalSyntaxException;
 import org.apache.camel.LanguageTestSupport;
-import org.apache.camel.language.simple.SimpleLanguage;
 
 /**
  * @version $Revision$

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DualPipelineTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DualPipelineTest.java?rev=821339&r1=821338&r2=821339&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DualPipelineTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DualPipelineTest.java
Sat Oct  3 15:42:01 2009
@@ -76,7 +76,7 @@
                             .to("mock:e")
                         .end() //pipeline
                     .end()//multicast
-                .to("mock:result");
+                    .to("mock:result");
             }
         };
     }



Mime
View raw message