camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hekon...@apache.org
Subject camel git commit: Refactoring.
Date Mon, 16 Nov 2015 09:26:34 GMT
Repository: camel
Updated Branches:
  refs/heads/master 005df4cb7 -> aa4191fec


Refactoring.


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

Branch: refs/heads/master
Commit: aa4191fec006d3c1161caadbacf02ec92f9cb70c
Parents: 005df4c
Author: Henryk Konsek <hekonsek@gmail.com>
Authored: Mon Nov 16 10:26:26 2015 +0100
Committer: Henryk Konsek <hekonsek@gmail.com>
Committed: Mon Nov 16 10:26:26 2015 +0100

----------------------------------------------------------------------
 .../camel/component/kura/KuraRouterTest.java    | 21 ++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/aa4191fe/components/camel-kura/src/test/java/org/apache/camel/component/kura/KuraRouterTest.java
----------------------------------------------------------------------
diff --git a/components/camel-kura/src/test/java/org/apache/camel/component/kura/KuraRouterTest.java
b/components/camel-kura/src/test/java/org/apache/camel/component/kura/KuraRouterTest.java
index 6e8dbf9..97822bd 100644
--- a/components/camel-kura/src/test/java/org/apache/camel/component/kura/KuraRouterTest.java
+++ b/components/camel-kura/src/test/java/org/apache/camel/component/kura/KuraRouterTest.java
@@ -95,18 +95,19 @@ public class KuraRouterTest extends Assert {
         router.requiredService(ConfigurationAdmin.class);
     }
 
-}
+    static class TestKuraRouter extends KuraRouter {
 
-class TestKuraRouter extends KuraRouter {
+        @Override
+        public void configure() throws Exception {
+            from("direct:start").to("mock:test");
+        }
 
-    @Override
-    public void configure() throws Exception {
-        from("direct:start").to("mock:test");
-    }
+        @Override
+        protected CamelContext createCamelContext() {
+            return new DefaultCamelContext();
+        }
 
-    @Override
-    protected CamelContext createCamelContext() {
-        return new DefaultCamelContext();
     }
 
-}
\ No newline at end of file
+}
+


Mime
View raw message