camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hekon...@apache.org
Subject git commit: Added @Override and improved Javadoc.
Date Sat, 02 Nov 2013 21:51:30 GMT
Updated Branches:
  refs/heads/master f8e9ead3d -> 4f639926e


Added @Override and improved Javadoc.


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

Branch: refs/heads/master
Commit: 4f639926efd8cdf1b4e33eb97014d87875ed984f
Parents: f8e9ead
Author: Henryk Konsek <hekonsek@gmail.com>
Authored: Sat Nov 2 22:51:18 2013 +0100
Committer: Henryk Konsek <hekonsek@gmail.com>
Committed: Sat Nov 2 22:51:18 2013 +0100

----------------------------------------------------------------------
 .../camel/spring/javaconfig/SingleRouteCamelConfiguration.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4f639926/components/camel-spring-javaconfig/src/main/java/org/apache/camel/spring/javaconfig/SingleRouteCamelConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-javaconfig/src/main/java/org/apache/camel/spring/javaconfig/SingleRouteCamelConfiguration.java
b/components/camel-spring-javaconfig/src/main/java/org/apache/camel/spring/javaconfig/SingleRouteCamelConfiguration.java
index 9ef9290..fd378ab 100644
--- a/components/camel-spring-javaconfig/src/main/java/org/apache/camel/spring/javaconfig/SingleRouteCamelConfiguration.java
+++ b/components/camel-spring-javaconfig/src/main/java/org/apache/camel/spring/javaconfig/SingleRouteCamelConfiguration.java
@@ -26,10 +26,12 @@ import org.springframework.context.annotation.Bean;
  * A useful base class for writing
  * <a
  * href="http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-annotation-config">
- * Spring annotation-based</a> configurations to configure a CamelContext with a single
{@link RouteBuilder} instance.
+ * Spring annotation-based</a> configurations to configure a {@link org.apache.camel.CamelContext}
with a single
+ * {@link RouteBuilder} instance.
  */
 public abstract class SingleRouteCamelConfiguration extends CamelConfiguration {
 
+    @Override
     @Bean
     public List<RouteBuilder> routes() {
         return Collections.singletonList(route());
@@ -39,4 +41,5 @@ public abstract class SingleRouteCamelConfiguration extends CamelConfiguration
{
      * Creates the single {@link RouteBuilder} to use in this configuration
      */
     public abstract RouteBuilder route();
+
 }


Mime
View raw message