camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] camel git commit: Fixed the CS errors of camel-spring and camel-test-blueprint
Date Mon, 06 Apr 2015 13:29:29 GMT
Fixed the CS errors of camel-spring and camel-test-blueprint


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3ef0af5a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3ef0af5a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3ef0af5a

Branch: refs/heads/master
Commit: 3ef0af5a5fa14207edfc794577f6967f6e6f3bbb
Parents: c038994
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Mon Apr 6 21:28:18 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Mon Apr 6 21:29:13 2015 +0800

----------------------------------------------------------------------
 .../org/apache/camel/spring/CamelContextFactoryBeanTest.java  | 4 +++-
 .../apache/camel/test/blueprint/converter2/MyConverters.java  | 7 +++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3ef0af5a/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextFactoryBeanTest.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextFactoryBeanTest.java
b/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextFactoryBeanTest.java
index d356cc8..4fd8721 100644
--- a/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextFactoryBeanTest.java
+++ b/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextFactoryBeanTest.java
@@ -109,5 +109,7 @@ public class CamelContextFactoryBeanTest extends TestCase {
         assertTrue(modelJAXBContextFactory instanceof CustomModelJAXBContextFactory);
     }
 
-    private static class CustomModelJAXBContextFactory extends DefaultModelJAXBContextFactory
{}
+    private static class CustomModelJAXBContextFactory extends DefaultModelJAXBContextFactory
{
+        // Do nothing here
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/3ef0af5a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/converter2/MyConverters.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/converter2/MyConverters.java
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/converter2/MyConverters.java
index e39d89b..29e3749 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/converter2/MyConverters.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/converter2/MyConverters.java
@@ -19,8 +19,11 @@ package org.apache.camel.test.blueprint.converter2;
 import org.apache.camel.Converter;
 import org.apache.camel.TypeConverters;
 
-public class MyConverters implements TypeConverters {
-
+public final class MyConverters implements TypeConverters {
+    private MyConverters() {
+        // Helper class
+    }
+    
     @Converter
     public static Country toCountry(String iso) {
         Country answer = new Country();


Mime
View raw message