You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/06 16:37:53 UTC

[camel] branch master updated: Fixed CS

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

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


The following commit(s) were added to refs/heads/master by this push:
     new a21bfab  Fixed CS
a21bfab is described below

commit a21bfab59e7b10684d96c1c8c6bbc7f23ecc7c66
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 6 18:37:13 2020 +0200

    Fixed CS
---
 core/camel-api/src/main/java/org/apache/camel/Expression.java | 9 +++++----
 core/camel-api/src/main/java/org/apache/camel/Predicate.java  | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/Expression.java b/core/camel-api/src/main/java/org/apache/camel/Expression.java
index b78323f..19ed097 100644
--- a/core/camel-api/src/main/java/org/apache/camel/Expression.java
+++ b/core/camel-api/src/main/java/org/apache/camel/Expression.java
@@ -20,10 +20,11 @@ package org.apache.camel;
  * An <a href="http://camel.apache.org/expression.html">expression</a> provides a plugin strategy for evaluating
  * expressions on a message exchange.
  *
- * An expression should be thread-safe and be able to evaluate concurrently by different threads with different exchanges.
+ * An expression should be thread-safe and be able to evaluate concurrently by different threads with different
+ * exchanges.
  *
- * Any initialization logic should be done by the {@link #init(CamelContext)} method which allows to prepare the expressions
- * such as wiring in resources, pre-parsing and what else.
+ * Any initialization logic should be done by the {@link #init(CamelContext)} method which allows to prepare the
+ * expressions such as wiring in resources, pre-parsing and what else.
  */
 public interface Expression {
 
@@ -39,7 +40,7 @@ public interface Expression {
     /**
      * Initialize the expression with the given camel context
      *
-     * @param context  the camel context
+     * @param context the camel context
      */
     default void init(CamelContext context) {
     }
diff --git a/core/camel-api/src/main/java/org/apache/camel/Predicate.java b/core/camel-api/src/main/java/org/apache/camel/Predicate.java
index fc79021..b8bc9ed 100644
--- a/core/camel-api/src/main/java/org/apache/camel/Predicate.java
+++ b/core/camel-api/src/main/java/org/apache/camel/Predicate.java
@@ -21,8 +21,8 @@ package org.apache.camel;
  *
  * A predicate should be thread-safe and be able to evaluate concurrently by different threads with different exchanges.
  *
- * Any initialization logic should be done by the {@link #init(CamelContext)} method which allows to prepare the predicate
- * such as wiring in resources, pre-parsing and what else.
+ * Any initialization logic should be done by the {@link #init(CamelContext)} method which allows to prepare the
+ * predicate such as wiring in resources, pre-parsing and what else.
  */
 public interface Predicate {
 
@@ -37,7 +37,7 @@ public interface Predicate {
     /**
      * Initialize the predicate with the given camel context
      *
-     * @param context  the camel context
+     * @param context the camel context
      */
     default void init(CamelContext context) {
     }