You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/07/10 11:18:07 UTC

[camel] branch main updated: CAMEL-19444. Fixed a few grammar errors on code comments in camel-kafka

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

orpiske 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 c8fbf9d3eb0 CAMEL-19444. Fixed a few grammar errors on code comments in camel-kafka
c8fbf9d3eb0 is described below

commit c8fbf9d3eb04546d5473f1ef378419de2c0f836f
Author: Nikita Konovalov <nk...@redhat.com>
AuthorDate: Mon Jul 10 11:31:13 2023 +0200

    CAMEL-19444. Fixed a few grammar errors on code comments in camel-kafka
---
 .../main/java/org/apache/camel/component/kafka/KafkaComponent.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaComponent.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaComponent.java
index 1d5f92a7b1c..72a2ef51c17 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaComponent.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaComponent.java
@@ -92,7 +92,7 @@ public class KafkaComponent extends DefaultComponent implements SSLContextParame
         // If a topic is not defined in the KafkaConfiguration (set as option parameter) but only in the uri,
         // it can happen that it is not set correctly in the configuration of the endpoint.
         // Therefore, the topic is added after setProperties method
-        // and an null check to avoid overwriting a value from the configuration.
+        // and a null check to avoid overwriting a value from the configuration.
         if (endpoint.getConfiguration().getTopic() == null) {
             endpoint.getConfiguration().setTopic(remaining);
         }
@@ -143,7 +143,7 @@ public class KafkaComponent extends DefaultComponent implements SSLContextParame
 
     /**
      * Factory to use for creating {@link org.apache.kafka.clients.consumer.KafkaConsumer} and
-     * {@link org.apache.kafka.clients.producer.KafkaProducer} instances. This allows to configure a custom factory to
+     * {@link org.apache.kafka.clients.producer.KafkaProducer} instances. This allows configuring a custom factory to
      * create instances with logic that extends the vanilla Kafka clients.
      */
     public void setKafkaClientFactory(KafkaClientFactory kafkaClientFactory) {