You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/03/04 08:57:51 UTC

[camel] 06/32: A bit of cleaning

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ed11c1ca8099e1e244794bbdee94c907fb8bfee5
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Tue Feb 25 13:50:08 2020 +0100

    A bit of cleaning
---
 core/camel-api/src/main/java/org/apache/camel/Route.java |  1 -
 .../java/org/apache/camel/spi/LifecycleStrategy.java     | 16 ++++++++--------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/Route.java b/core/camel-api/src/main/java/org/apache/camel/Route.java
index c596ef2..353a335 100644
--- a/core/camel-api/src/main/java/org/apache/camel/Route.java
+++ b/core/camel-api/src/main/java/org/apache/camel/Route.java
@@ -233,7 +233,6 @@ public interface Route extends RuntimeConfiguration {
 
     /**
      * This method retrieves the event driven Processors on this route context.
-     * @return
      */
     List<Processor> getEventDrivenProcessors();
 
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/LifecycleStrategy.java b/core/camel-api/src/main/java/org/apache/camel/spi/LifecycleStrategy.java
index 6f5349b..5a6e247 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/LifecycleStrategy.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/LifecycleStrategy.java
@@ -50,7 +50,7 @@ public interface LifecycleStrategy {
     void onContextStop(CamelContext context);
 
     /**
-     * Notification on adding an {@link org.apache.camel.Component}.
+     * Notification on adding an {@link Component}.
      *
      * @param name      the unique name of this component
      * @param component the added component
@@ -58,7 +58,7 @@ public interface LifecycleStrategy {
     void onComponentAdd(String name, Component component);
 
     /**
-     * Notification on removing an {@link org.apache.camel.Component}.
+     * Notification on removing an {@link Component}.
      *
      * @param name      the unique name of this component
      * @param component the removed component
@@ -86,7 +86,7 @@ public interface LifecycleStrategy {
      * @param service the added service
      * @param route   the route the service belongs to if any possible to determine
      */
-    void onServiceAdd(CamelContext context, Service service, org.apache.camel.Route route);
+    void onServiceAdd(CamelContext context, Service service, Route route);
 
     /**
      * Notification on removing a {@link Service}.
@@ -95,21 +95,21 @@ public interface LifecycleStrategy {
      * @param service the removed service
      * @param route   the route the service belongs to if any possible to determine
      */
-    void onServiceRemove(CamelContext context, Service service, org.apache.camel.Route route);
+    void onServiceRemove(CamelContext context, Service service, Route route);
 
     /**
-     * Notification on adding {@link org.apache.camel.Route}(s).
+     * Notification on adding {@link Route}(s).
      *
      * @param routes the added routes
      */
-    void onRoutesAdd(Collection<org.apache.camel.Route> routes);
+    void onRoutesAdd(Collection<Route> routes);
 
     /**
-     * Notification on removing {@link org.apache.camel.Route}(s).
+     * Notification on removing {@link Route}(s).
      *
      * @param routes the removed routes
      */
-    void onRoutesRemove(Collection<org.apache.camel.Route> routes);
+    void onRoutesRemove(Collection<Route> routes);
 
     /**
      * Notification on adding {@link Route}(s).