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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2b476978431f Fix typos in javadoc of ResolverHelper
2b476978431f is described below

commit 2b476978431f5a9524da2eeffb40dc31c7fa4857
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon Mar 2 16:39:38 2026 +0100

    Fix typos in javadoc of ResolverHelper
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../org/apache/camel/support/ResolverHelper.java   | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/ResolverHelper.java 
b/core/camel-support/src/main/java/org/apache/camel/support/ResolverHelper.java
index 1695cd6dc7cf..07f00ec1c5e8 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/ResolverHelper.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/ResolverHelper.java
@@ -137,9 +137,9 @@ public final class ResolverHelper {
      *
      * @param  camelContext the {@link CamelContext}
      * @param  factoryPath  the path of the factory file
-     * @param  factoryKey   the key used top lookup the factory class
+     * @param  factoryKey   the key used to lookup the factory class
      * @param  factoryClass the type of the class
-     * @return              an instance fo the given factory
+     * @return              an instance of the given factory
      */
     public static <T> Optional<T> resolveService(
             CamelContext camelContext, String factoryPath, String factoryKey, 
Class<T> factoryClass) {
@@ -153,7 +153,7 @@ public final class ResolverHelper {
      * Create an instance of the given factory using the default factory finder
      *
      * @param  camelContext           the {@link CamelContext}
-     * @param  factoryKey             the key used top lookup the factory class
+     * @param  factoryKey             the key used to lookup the factory class
      * @param  factoryClass           the type of the class
      * @param  jarName                the JAR to add to the classpath if 
service is missing
      * @return                        an instance of the given factory
@@ -170,7 +170,7 @@ public final class ResolverHelper {
      * Create an instance of the given factory using the bootstrap factory 
finder
      *
      * @param  camelContext           the {@link CamelContext}
-     * @param  factoryKey             the key used top lookup the factory class
+     * @param  factoryKey             the key used to lookup the factory class
      * @param  factoryClass           the type of the class
      * @param  jarName                the JAR to add to the classpath if 
service is missing
      * @return                        an instance of the given factory
@@ -188,7 +188,7 @@ public final class ResolverHelper {
      *
      * @param  camelContext           the {@link CamelContext}
      * @param  factoryFinder          the factory finder to use
-     * @param  factoryKey             the key used top lookup the factory class
+     * @param  factoryKey             the key used to lookup the factory class
      * @param  factoryClass           the type of the class
      * @param  jarName                the JAR to add to the classpath if 
service is missing
      * @return                        an instance of the given factory
@@ -207,9 +207,9 @@ public final class ResolverHelper {
      * Create an instance of the given factory using the bootstrap factory 
finder.
      *
      * @param  camelContext the {@link CamelContext}
-     * @param  factoryKey   the key used top lookup the factory class
+     * @param  factoryKey   the key used to lookup the factory class
      * @param  factoryClass the type of the class
-     * @return              an instance fo the given factory
+     * @return              an instance of the given factory
      */
     public static <T> Optional<T> resolveBootstrapService(
             CamelContext camelContext, String factoryKey, Class<T> 
factoryClass) {
@@ -221,9 +221,9 @@ public final class ResolverHelper {
      * Create an instance of the given factory using the default factory finder
      *
      * @param  camelContext the {@link CamelContext}
-     * @param  factoryKey   the key used top lookup the factory class
+     * @param  factoryKey   the key used to lookup the factory class
      * @param  factoryClass the type of the class
-     * @return              an instance fo the given factory
+     * @return              an instance of the given factory
      */
     public static <T> Optional<T> resolveService(
             CamelContext camelContext, String factoryKey, Class<T> 
factoryClass) {
@@ -238,9 +238,9 @@ public final class ResolverHelper {
      *
      * @param  camelContext  the {@link CamelContext}
      * @param  factoryFinder the {@link FactoryFinder} to use
-     * @param  factoryKey    the key used top lookup the factory class
+     * @param  factoryKey    the key used to lookup the factory class
      * @param  factoryClass  the type of the class
-     * @return               an instance fo the given factory
+     * @return               an instance of the given factory
      */
     public static <T> Optional<T> resolveService(
             CamelContext camelContext, FactoryFinder factoryFinder, String 
factoryKey, Class<T> factoryClass) {
@@ -252,10 +252,10 @@ public final class ResolverHelper {
      *
      * @param  camelContext  the {@link CamelContext}
      * @param  factoryFinder the {@link FactoryFinder} to use
-     * @param  factoryKey    the key used top lookup the factory class
+     * @param  factoryKey    the key used to lookup the factory class
      * @param  factoryClass  the type of the class
      * @param  optional      whether the service is optional
-     * @return               an instance fo the given factory
+     * @return               an instance of the given factory
      */
     private static <T> Optional<T> doResolveService(
             CamelContext camelContext, FactoryFinder factoryFinder, String 
factoryKey, Class<T> factoryClass,

Reply via email to