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

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

commit c78354d7fc682012281e4fa53b0a4bf2a81865e8
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Oct 7 07:08:30 2021 +0200

    Polished
---
 .../src/main/java/org/apache/camel/builder/SimpleBuilder.java       | 2 +-
 .../src/main/java/org/apache/camel/model/ExpressionNodeHelper.java  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/builder/SimpleBuilder.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/builder/SimpleBuilder.java
index f969103..0f22e3b 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/builder/SimpleBuilder.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/builder/SimpleBuilder.java
@@ -24,7 +24,7 @@ import org.apache.camel.spi.ExpressionResultTypeAware;
 import org.apache.camel.spi.Language;
 
 /**
- * Creates an Simple language builder.
+ * Creates a Simple language builder.
  * <p/>
  * This builder is available in the Java DSL from the {@link RouteBuilder} 
which means that using simple language for
  * {@link Expression}s or {@link Predicate}s is very easy with the help of 
this builder.
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/ExpressionNodeHelper.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/ExpressionNodeHelper.java
index c94fbac..4b8d805 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/ExpressionNodeHelper.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/ExpressionNodeHelper.java
@@ -34,10 +34,10 @@ public final class ExpressionNodeHelper {
     }
 
     /**
-     * Determines which {@link ExpressionDefinition} describes the given 
expression best possible.
+     * Determines which {@link ExpressionDefinition} describes the given 
expression in the best possible way.
      * <p/>
      * This implementation will use types such as {@link SimpleExpression}, 
{@link XPathExpression} etc. if the given
-     * expression is detect as such a type.
+     * expression is detected as such a type.
      *
      * @param  expression the expression
      * @return            a definition which describes the expression
@@ -72,7 +72,7 @@ public final class ExpressionNodeHelper {
     }
 
     /**
-     * Determines which {@link ExpressionDefinition} describes the given 
predicate best possible.
+     * Determines which {@link ExpressionDefinition} describes the given 
predicate in the best possible way.
      * <p/>
      * This implementation will use types such as {@link SimpleExpression}, 
{@link XPathExpression} etc. if the given
      * predicate is detect as such a type.

Reply via email to