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
The following commit(s) were added to refs/heads/main by this push:
new a1c3ac3a3aed Fix misspellings in Javadoc and code comments (main
sources) (#29643)
a1c3ac3a3aed is described below
commit a1c3ac3a3aed1c525c812afeeaf2fa623e3cece9
Author: dhairya05 <[email protected]>
AuthorDate: Thu Nov 12 19:22:52 2026 +0530
Fix misspellings in Javadoc and code comments (main sources) (#29643)
* core, tooling: fix misspellings in Javadoc and code comments
Camel's CI runs no spell checker, so these have accumulated in the
comments of the core modules and the packaging plugins.
* components: fix misspellings in Javadoc and code comments
* dsl: fix misspellings in Javadoc and code comments
* camel-support: fix duplicated "the the" in DefaultComponent comments
* Keep the two intentional example misspellings
closestMethodName's "a typo such as lenght for length" and QuickFixes'
"peroid -> period" label example both use a misspelling on purpose to
show what the code handles; correcting them made the examples
meaningless.
* camel-support: re-wrap the two Javadoc paragraphs shortened by a typo fix
Dropping a repeated word left room for the next word, and the formatter
(join_lines_in_comments, comment width 120) would have pulled it up, so
the build would have reported uncommitted changes.
* Update
components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
Co-authored-by: Guillaume Nodet - AI Bot <[email protected]>
* Update
components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
Co-authored-by: Guillaume Nodet - AI Bot <[email protected]>
* Restore the argument dropped when applying a review suggestion
The second suggestion on CxfEndpoint was applied over the `this,` argument
of PropertyBindingSupport.bindProperties instead of the comment line above
the LOG.warn, which broke compilation of camel-cxf-soap.
Also re-wrap the CamelDirectSender Javadoc: `conjuctions` -> `conjunctions`
pushed the line to 121 columns, so the formatter moves `like` to the next
line.
* camel-cxf: the third 'rethrown' in CxfEndpoint
setCamelContext carries the same TODO as setProperties; both now read
rethrow.
---------
Co-authored-by: Guillaume Nodet - AI Bot <[email protected]>
---
.../api/entity/AS2MessageDispositionNotificationEntity.java | 2 +-
.../org/apache/camel/dataformat/barcode/BarcodeParameters.java | 2 +-
.../camel/component/bean/AbstractCamelInvocationHandler.java | 2 +-
.../main/java/org/apache/camel/component/bean/BeanInfo.java | 2 +-
.../java/org/apache/camel/dataformat/bindy/UnicodeHelper.java | 4 ++--
.../aggregate/cassandra/CassandraAggregationRepository.java | 2 +-
.../main/java/org/apache/camel/component/cm/CMEndpoint.java | 2 +-
.../src/main/java/org/apache/camel/component/cm/CMMessage.java | 4 ++--
.../camel/component/crypto/DigitalSignatureConfiguration.java | 2 +-
.../org/apache/camel/converter/crypto/CryptoDataFormat.java | 4 ++--
.../main/java/org/apache/camel/converter/crypto/HexUtils.java | 10 +++++-----
.../java/org/apache/camel/component/cxf/jaxws/CxfConsumer.java | 2 +-
.../java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java | 4 ++--
.../cxf/spring/jaxrs/SpringJAXRSServerFactoryBean.java | 2 +-
.../disruptor/LifecycleAwareExchangeEventHandler.java | 4 ++--
.../java/org/apache/camel/component/dns/DnsDigProducer.java | 2 +-
.../rest/client/ElasticsearchRestClientProducer.java | 2 +-
.../main/java/org/apache/camel/component/exec/ExecResult.java | 8 ++++----
.../apache/camel/component/file/AntPathMatcherFileFilter.java | 2 +-
.../java/org/apache/camel/http/common/DefaultHttpBinding.java | 6 +++---
.../java/org/apache/camel/http/common/HttpCommonComponent.java | 2 +-
.../java/org/apache/camel/component/iggy/IggyConsumer.java | 2 +-
.../cluster/InfinispanEmbeddedClusterConfiguration.java | 2 +-
.../remote/cluster/InfinispanRemoteClusterConfiguration.java | 2 +-
.../java/org/apache/camel/component/jms/JmsMessageHelper.java | 2 +-
.../component/jsonvalidator/JsonValidatorErrorHandler.java | 2 +-
.../src/main/java/org/apache/camel/jsonpath/JsonStream.java | 2 +-
.../camel/jsonpath/easypredicate/EasyPredicateParser.java | 2 +-
.../apache/camel/component/kafka/KafkaClientConfiguration.java | 4 ++--
.../main/java/org/apache/camel/component/mail/MailBinding.java | 2 +-
.../main/java/org/apache/camel/component/mail/MailSorter.java | 2 +-
.../camel/component/milo/server/MiloServerComponent.java | 2 +-
.../java/org/apache/camel/component/mock/MockValueBuilder.java | 2 +-
.../apache/camel/component/netty/ClientInitializerFactory.java | 2 +-
.../apache/camel/component/netty/ServerInitializerFactory.java | 2 +-
.../org/apache/camel/component/netty/util/SubnetUtils.java | 2 +-
.../main/java/org/apache/camel/openapi/RestOpenApiReader.java | 6 +++---
.../reactive/streams/ReactiveStreamsBackpressureStrategy.java | 2 +-
.../camel/component/rest/RestProducerBindingProcessor.java | 2 +-
.../camel/component/salesforce/SalesforceClientTemplate.java | 2 +-
.../camel/component/salesforce/api/dto/bulk/ObjectFactory.java | 2 +-
.../org/apache/camel/component/sjms/jms/JmsMessageHelper.java | 2 +-
.../camel/component/smooks/routing/BeanRouterObserver.java | 2 +-
.../java/org/apache/camel/component/smpp/SmppNLSTSplitter.java | 4 ++--
.../apache/camel/dataformat/soap/name/ElementNameStrategy.java | 2 +-
.../camel/component/spring/ws/bean/CamelDirectSender.java | 4 ++--
.../apache/camel/spring/xml/SpringErrorHandlerDefinition.java | 4 ++--
.../main/java/org/apache/camel/component/ssh/SshHelper.java | 2 +-
.../java/org/apache/camel/component/stax/StAXProcessor.java | 2 +-
.../org/apache/camel/component/syslog/SyslogConstants.java | 2 +-
.../component/wordpress/api/auth/WordpressAuthentication.java | 2 +-
.../camel/component/wordpress/api/model/SearchCriteria.java | 2 +-
.../component/xmlsecurity/api/XmlSignatureProperties.java | 2 +-
.../zookeepermaster/group/internal/ZooKeeperGroup.java | 2 +-
.../camel/component/zookeeper/ZooKeeperConfiguration.java | 2 +-
.../camel-api/src/main/java/org/apache/camel/spi/Debugger.java | 6 +++---
core/camel-api/src/main/java/org/apache/camel/spi/Policy.java | 2 +-
.../src/main/java/org/apache/camel/spi/RouteError.java | 2 +-
.../src/main/java/org/apache/camel/spi/ShutdownAware.java | 2 +-
.../src/main/java/org/apache/camel/spi/ShutdownPrepared.java | 2 +-
.../src/main/java/org/apache/camel/spi/TypeConvertible.java | 2 +-
.../org/apache/camel/catalog/impl/AbstractCamelCatalog.java | 4 ++--
.../java/org/apache/camel/builder/AggregationStrategies.java | 2 +-
.../org/apache/camel/builder/AggregationStrategyClause.java | 2 +-
.../main/java/org/apache/camel/builder/DataFormatClause.java | 2 +-
.../src/main/java/org/apache/camel/builder/NotifyBuilder.java | 2 +-
.../main/java/org/apache/camel/model/ProcessorDefinition.java | 8 ++++----
.../java/org/apache/camel/model/RecipientListDefinition.java | 2 +-
.../org/apache/camel/model/dataformat/GroovyXmlDataFormat.java | 4 ++--
.../java/org/apache/camel/model/dataformat/PGPDataFormat.java | 2 +-
.../camel/processor/errorhandler/RedeliveryErrorHandler.java | 2 +-
.../apache/camel/processor/resequencer/ResequencerEngine.java | 2 +-
.../java/org/apache/camel/support/CamelObjectInputStream.java | 2 +-
.../main/java/org/apache/camel/support/DefaultComponent.java | 10 +++++-----
.../java/org/apache/camel/support/SimpleTypeConverter.java | 4 ++--
.../java/org/apache/camel/support/TypeConverterSupport.java | 2 +-
.../java/org/apache/camel/support/builder/ValueBuilder.java | 2 +-
.../java/org/apache/camel/xml/io/util/XmlStreamDetector.java | 2 +-
.../src/main/java/org/apache/camel/xml/io/MXParser.java | 6 +++---
.../dsl/jbang/core/commands/action/TransformMessageAction.java | 2 +-
.../camel/dsl/jbang/core/commands/kubernetes/traits/Trait.java | 2 +-
.../src/main/java/org/apache/camel/util/json/JsonArray.java | 2 +-
.../src/main/java/org/apache/camel/util/json/JsonObject.java | 4 ++--
83 files changed, 118 insertions(+), 118 deletions(-)
diff --git
a/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/AS2MessageDispositionNotificationEntity.java
b/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/AS2MessageDispositionNotificationEntity.java
index fd1f2c283f44..4fe45b3a2e4a 100644
---
a/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/AS2MessageDispositionNotificationEntity.java
+++
b/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/entity/AS2MessageDispositionNotificationEntity.java
@@ -207,7 +207,7 @@ public class AS2MessageDispositionNotificationEntity
extends MimeEntity {
if (parsedBodyPartFields != null) {
// The 'writeTo' method is used when verifying the signature
of the received MDN, and any alteration
- // to the body part fields would mean that the signature would
fail verification. Therefor return
+ // to the body part fields would mean that the signature would
fail verification. Therefore return
// the fields parsed from the MDN entity if available so that
the specific field
// ordering/formatting is maintained otherwise fall back to
recreating each header, e.g. 'Reporting-UA',
// in the order prescribed in this method.
diff --git
a/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/BarcodeParameters.java
b/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/BarcodeParameters.java
index 0d7cfa7366b4..d3914ff36b17 100644
---
a/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/BarcodeParameters.java
+++
b/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/BarcodeParameters.java
@@ -69,7 +69,7 @@ public class BarcodeParameters {
* <ul>
* <li>image type: PNG</li>
* <li>image width: 100px</li>
- * <li>image heigth: 100px</li>
+ * <li>image height: 100px</li>
* <li>format: QR-Code</li>
* </ul>
*/
diff --git
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
index 5bc018b4ab01..ed2f6604db83 100644
---
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
+++
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java
@@ -105,7 +105,7 @@ public abstract class AbstractCamelInvocationHandler
implements InvocationHandle
throws Throwable {
final Exchange exchange = DefaultExchange.newFromEndpoint(endpoint,
pattern);
- //Need to check if there are mutiple arguments and the parameters have
no annotations for binding,
+ //Need to check if there are multiple arguments and the parameters
have no annotations for binding,
//then use the original bean invocation.
boolean canUseBinding = method.getParameterCount() == 1;
diff --git
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
index 3bb635ab6d69..83b708cf2c40 100644
---
a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
+++
b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java
@@ -504,7 +504,7 @@ public class BeanInfo {
expression =
strategy.getDefaultParameterTypeExpression(parameterType);
}
// this is not entirely correct as the parameter may be a default
parameter type and not a custom annotation
- // but we need to keep this logic for backwards compatability
+ // but we need to keep this logic for backwards compatibility
hasCustomAnnotation |= expression != null;
// whether this parameter is vararg which must be last parameter
diff --git
a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/UnicodeHelper.java
b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/UnicodeHelper.java
index f7a1313bc0c6..e6be21143a9f 100644
---
a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/UnicodeHelper.java
+++
b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/UnicodeHelper.java
@@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory;
/**
* This class replicates the essential parts of the String class in order to
aid proper work for Unicode chars in the
- * presense of UTF-16. So for all operations please see {@link String} with
the same signature. This class is equally
+ * presence of UTF-16. So for all operations please see {@link String} with
the same signature. This class is equally
* immutable.
*/
public class UnicodeHelper implements Serializable {
@@ -57,7 +57,7 @@ public class UnicodeHelper implements Serializable {
* Create instance.
*
* @param input String, that is to be wrapped.
- * @param method Method, that is used to determin "chars" of string.
+ * @param method Method, that is used to determine "chars" of string.
*/
public UnicodeHelper(final String input, final Method method) {
this.input = input;
diff --git
a/components/camel-cassandraql/src/main/java/org/apache/camel/processor/aggregate/cassandra/CassandraAggregationRepository.java
b/components/camel-cassandraql/src/main/java/org/apache/camel/processor/aggregate/cassandra/CassandraAggregationRepository.java
index 92662ae9d252..c56cbd1d0c56 100644
---
a/components/camel-cassandraql/src/main/java/org/apache/camel/processor/aggregate/cassandra/CassandraAggregationRepository.java
+++
b/components/camel-cassandraql/src/main/java/org/apache/camel/processor/aggregate/cassandra/CassandraAggregationRepository.java
@@ -149,7 +149,7 @@ public class CassandraAggregationRepository extends
ServiceSupport implements Re
}
/**
- * Get aggregation key colum name.
+ * Get aggregation key column name.
*/
private String getKeyColumn() {
return pkColumns[pkColumns.length - 1];
diff --git
a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMEndpoint.java
b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMEndpoint.java
index a40591b2bd20..ec9f9816ad19 100644
---
a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMEndpoint.java
+++
b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMEndpoint.java
@@ -77,7 +77,7 @@ public class CMEndpoint extends DefaultEndpoint implements
EndpointServiceLocati
// Consider:
// 1. single - Single Message strategy.
// 2. Multi - CM Api supports to 1000 messages per call.
- // 3. sliding - sliding window? 1000 messages or time thresold?
+ // 3. sliding - sliding window? 1000 messages or time threshold?
// 4. mocked - in order to fake cm responses
// CMConstants.DEFAULT_SCHEME + host is a valid URL. It was previously
checked
diff --git
a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMMessage.java
b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMMessage.java
index d3b521265584..487211085751 100644
---
a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMMessage.java
+++
b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/CMMessage.java
@@ -104,7 +104,7 @@ public class CMMessage {
// Not Unicode is Multipart?
if (msg.length() > CMConstants.MAX_GSM_MESSAGE_LENGTH) {
- // Multiparts. 153 caracteres max per part
+ // Multiparts. 153 characters max per part
int parts = msg.length() /
CMConstants.MAX_GSM_MESSAGE_LENGTH_PER_PART_IF_MULTIPART;
if (msg.length() %
CMConstants.MAX_GSM_MESSAGE_LENGTH_PER_PART_IF_MULTIPART != 0) {
parts++;
@@ -120,7 +120,7 @@ public class CMMessage {
if (msg.length() > CMConstants.MAX_UNICODE_MESSAGE_LENGTH) {
- // Multiparts. 67 caracteres max per part
+ // Multiparts. 67 characters max per part
int parts = msg.length() /
CMConstants.MAX_UNICODE_MESSAGE_LENGTH_PER_PART_IF_MULTIPART;
if (msg.length() %
CMConstants.MAX_UNICODE_MESSAGE_LENGTH_PER_PART_IF_MULTIPART != 0) {
parts++;
diff --git
a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/DigitalSignatureConfiguration.java
b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/DigitalSignatureConfiguration.java
index 5a9532b0bde9..ca553d5a1be9 100644
---
a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/DigitalSignatureConfiguration.java
+++
b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/DigitalSignatureConfiguration.java
@@ -249,7 +249,7 @@ public class DigitalSignatureConfiguration implements
Cloneable, CamelContextAwa
/**
* Set the Certificate that should be used to verify the signature in the
exchange. If a {@link KeyStore} has been
- * configured then this will attempt to retrieve the {@link
Certificate}from it using hte supplied alias. If either
+ * configured then this will attempt to retrieve the {@link
Certificate}from it using the supplied alias. If either
* the alias or the Keystore is invalid then the configured certificate
will be returned
*
* @param alias the alias used to retrieve the Certificate from the
keystore.
diff --git
a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/CryptoDataFormat.java
b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/CryptoDataFormat.java
index 68f59ab096b6..6709995f2730 100644
---
a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/CryptoDataFormat.java
+++
b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/CryptoDataFormat.java
@@ -52,7 +52,7 @@ import static javax.crypto.Cipher.ENCRYPT_MODE;
* <code>CryptoDataFormat</code> uses a specified key and algorithm to
encrypt, decrypt and verify exchange payloads.
* The Data format allows an initialization vector to be supplied. The use of
this initialization vector or IV is
* different depending on the algorithm type block or streaming, but it is
desirable to be able to control it. Also in
- * certain cases it may be necessary to have access to the IV in the
decryption phase and as the IV doens't necessarily
+ * certain cases it may be necessary to have access to the IV in the
decryption phase and as the IV doesn't necessarily
* need to be kept secret it is ok to inline this in the stream and read it
out on the other side prior to decryption.
* For more information on Initialization vectors see
* <ul>
@@ -410,7 +410,7 @@ public class CryptoDataFormat extends ServiceSupport
implements DataFormat, Data
/**
* Sets a custom {@link AlgorithmParameterSpec} that should be used to
configure the Cipher. Note that if an
- * Initalization vector is provided then the IvParameterSpec will be used
and any value set here will be ignored
+ * Initialization vector is provided then the IvParameterSpec will be used
and any value set here will be ignored
*/
public void setAlgorithmParameterSpec(AlgorithmParameterSpec
parameterSpec) {
this.algorithmParameterSpec = parameterSpec;
diff --git
a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/HexUtils.java
b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/HexUtils.java
index 05a3e30039c7..add2347dd53c 100644
---
a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/HexUtils.java
+++
b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/HexUtils.java
@@ -27,12 +27,12 @@ public final class HexUtils {
}
/**
- * Creates a string representation of the supplied byte array in
Hexidecimal format
+ * Creates a string representation of the supplied byte array in
Hexadecimal format
*
* @param in the byte array to convert to a hex string.
* @param start where to begin in the array
- * @param length how many bytes from the array to include in the
hexidecimal representation
- * @return a string containing the hexidecimal representation of
the requested bytes from the array
+ * @param length how many bytes from the array to include in the
hexadecimal representation
+ * @return a string containing the hexadecimal representation of
the requested bytes from the array
*/
public static String byteArrayToHexString(byte[] in, int start, int
length) {
String asHexString = null;
@@ -50,10 +50,10 @@ public final class HexUtils {
}
/**
- * Creates a string representation of the supplied byte array in
Hexidecimal format
+ * Creates a string representation of the supplied byte array in
Hexadecimal format
*
* @param in the byte array to convert to a hex string.
- * @return a string containing the hexidecimal representation of the
array
+ * @return a string containing the hexadecimal representation of the
array
*/
public static String byteArrayToHexString(byte[] in) {
return byteArrayToHexString(in, 0, in.length);
diff --git
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfConsumer.java
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfConsumer.java
index 00b1da356367..1423dde3dafe 100644
---
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfConsumer.java
+++
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfConsumer.java
@@ -331,7 +331,7 @@ public class CxfConsumer extends DefaultConsumer implements
Suspendable {
if (boi != null) {
camelExchange.setProperty(BindingOperationInfo.class.getName(), boi);
LOG.trace("Set exchange property: BindingOperationInfo: {}",
boi);
- // set the message exchange patter with the boi
+ // set the message exchange pattern with the boi
if (boi.getOperationInfo().isOneWay()) {
camelExchange.setPattern(ExchangePattern.InOnly);
}
diff --git
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
index f4f4bd17b9a1..a4594c463379 100644
---
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
+++
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
@@ -1194,7 +1194,7 @@ public class CxfEndpoint extends DefaultEndpoint
implements AsyncEndpoint, Heade
this,
this.properties);
} catch (Exception e) {
- // TODO: Why dont't we rethrown this exception
+ // TODO: Why don't we rethrow this exception
LOG.warn("Error setting CamelContext. This exception will be
ignored.", e);
}
}
@@ -1216,7 +1216,7 @@ public class CxfEndpoint extends DefaultEndpoint
implements AsyncEndpoint, Heade
this,
this.properties);
} catch (Exception e) {
- // TODO: Why dont't we rethrown this exception
+ // TODO: Why don't we rethrow this exception
LOG.warn("Error setting properties. This exception will be
ignored.", e);
}
}
diff --git
a/components/camel-cxf/camel-cxf-spring-rest/src/main/java/org/apache/camel/component/cxf/spring/jaxrs/SpringJAXRSServerFactoryBean.java
b/components/camel-cxf/camel-cxf-spring-rest/src/main/java/org/apache/camel/component/cxf/spring/jaxrs/SpringJAXRSServerFactoryBean.java
index 0a1e5f986fd7..9780c7566089 100644
---
a/components/camel-cxf/camel-cxf-spring-rest/src/main/java/org/apache/camel/component/cxf/spring/jaxrs/SpringJAXRSServerFactoryBean.java
+++
b/components/camel-cxf/camel-cxf-spring-rest/src/main/java/org/apache/camel/component/cxf/spring/jaxrs/SpringJAXRSServerFactoryBean.java
@@ -64,7 +64,7 @@ public class SpringJAXRSServerFactoryBean extends
JAXRSServerFactoryBean
beanId = id;
}
- // add this mothod for testing
+ // add this method for testing
List<String> getSchemaLocations() {
return schemaLocations;
}
diff --git
a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/LifecycleAwareExchangeEventHandler.java
b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/LifecycleAwareExchangeEventHandler.java
index ecffdb5e2b87..c1ae03d76e10 100644
---
a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/LifecycleAwareExchangeEventHandler.java
+++
b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/LifecycleAwareExchangeEventHandler.java
@@ -67,7 +67,7 @@ interface LifecycleAwareExchangeEventHandler extends
EventHandler<ExchangeEvent>
*
* @param timeout the maximum time to wait
* @param unit the time unit of the {@code timeout}
argument
- * @return {@code true} if the event hanlder is
stopped and {@code false} if the waiting time
+ * @return {@code true} if the event handler is
stopped and {@code false} if the waiting time
* elapsed before the count reached zero
* @throws InterruptedException if the current thread is interrupted while
waiting
*/
@@ -113,7 +113,7 @@ interface LifecycleAwareExchangeEventHandler extends
EventHandler<ExchangeEvent>
*
* @param timeout the maximum time to wait
* @param unit the time unit of the {@code timeout}
argument
- * @return {@code true} if the event hanlder is
stopped and {@code false} if the waiting time
+ * @return {@code true} if the event handler is
stopped and {@code false} if the waiting time
* elapsed before the count reached zero
* @throws InterruptedException if the current thread is interrupted while
waiting
*/
diff --git
a/components/camel-dns/src/main/java/org/apache/camel/component/dns/DnsDigProducer.java
b/components/camel-dns/src/main/java/org/apache/camel/component/dns/DnsDigProducer.java
index 0395eb90b1c0..a3e7fb7fccf9 100644
---
a/components/camel-dns/src/main/java/org/apache/camel/component/dns/DnsDigProducer.java
+++
b/components/camel-dns/src/main/java/org/apache/camel/component/dns/DnsDigProducer.java
@@ -28,7 +28,7 @@ import org.xbill.DNS.SimpleResolver;
import org.xbill.DNS.Type;
/**
- * A producer for dig-like operations over DNS adresses.
+ * A producer for dig-like operations over DNS addresses.
* <p/>
* Inspired from Dig.java coming with the distribution of dnsjava, though most
if not all options are unsupported.
*/
diff --git
a/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientProducer.java
b/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientProducer.java
index 4e5f5e2837d8..b45572f45b33 100644
---
a/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientProducer.java
+++
b/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientProducer.java
@@ -290,7 +290,7 @@ public class ElasticsearchRestClientProducer extends
DefaultAsyncProducer {
if (ObjectHelper.isNotEmpty(advancedQuery)) {
request.setJsonEntity(advancedQuery);
} else {
- // check if we have criterias in the body for simple matches, to
create the query Json request
+ // check if we have criteria in the body for simple matches, to
create the query Json request
var queryParameters = exchange.getMessage().getBody(Map.class);
if (ObjectHelper.isNotEmpty(queryParameters)) {
var jsonRequest = createQueryFromMap(queryParameters);
diff --git
a/components/camel-exec/src/main/java/org/apache/camel/component/exec/ExecResult.java
b/components/camel-exec/src/main/java/org/apache/camel/component/exec/ExecResult.java
index 30fbcbbfd0e0..4df00e4ebd48 100644
---
a/components/camel-exec/src/main/java/org/apache/camel/component/exec/ExecResult.java
+++
b/components/camel-exec/src/main/java/org/apache/camel/component/exec/ExecResult.java
@@ -74,20 +74,20 @@ public class ExecResult implements Serializable {
}
/**
- * Returns the content of the standart output (stdout) of the executed
command or <code>null</code>, if no output
+ * Returns the content of the standard output (stdout) of the executed
command or <code>null</code>, if no output
* was produced in the stdout.
*
- * @return The standart output (stdout) of the command executable.
+ * @return The standard output (stdout) of the command executable.
*/
public InputStream getStdout() {
return stdout;
}
/**
- * Returns the content of the standart error output (stderr) of the
executed command or <code>null</code>, if no
+ * Returns the content of the standard error output (stderr) of the
executed command or <code>null</code>, if no
* output was produced in the stderr.
*
- * @return The standart error output (stderr) of the command executable.
+ * @return The standard error output (stderr) of the command executable.
*/
public InputStream getStderr() {
return stderr;
diff --git
a/components/camel-file/src/main/java/org/apache/camel/component/file/AntPathMatcherFileFilter.java
b/components/camel-file/src/main/java/org/apache/camel/component/file/AntPathMatcherFileFilter.java
index a42d86488cf9..d7f744b32067 100644
---
a/components/camel-file/src/main/java/org/apache/camel/component/file/AntPathMatcherFileFilter.java
+++
b/components/camel-file/src/main/java/org/apache/camel/component/file/AntPathMatcherFileFilter.java
@@ -57,7 +57,7 @@ public class AntPathMatcherFileFilter implements FileFilter {
if (excludes != null) {
for (String exclude : excludes) {
if (matcher.match(exclude, path, caseSensitive)) {
- // something to exclude so we cant accept it
+ // something to exclude so we can't accept it
LOG.trace("File is excluded: {}", path);
return false;
}
diff --git
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
index a0174313a22b..4326ca79e9c1 100644
---
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
+++
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
@@ -555,7 +555,7 @@ public class DefaultHttpBinding implements HttpBinding {
if (is == null) {
// convert the body only: message.getBody(InputStream.class)
falls back to converting the HTTP message,
// which gives the request stream (already read), so a Map,
List, POJO or number body would be written
- // as an empty response. A body that is not convertable as a
stream is written as a String below
+ // as an empty response. A body that is not convertible as a
stream is written as a String below
is =
exchange.getContext().getTypeConverter().convertTo(InputStream.class, exchange,
message.getBody());
}
} else {
@@ -606,7 +606,7 @@ public class DefaultHttpBinding implements HttpBinding {
copyStream(is, os, response.getBufferSize());
}
} else {
- // not convertable as a stream so fallback as a String
+ // not convertible as a stream so fallback as a String
// a String body is written in the charset of the content type,
other bodies are converted to a String
// with the charset of the exchange and written in that charset
Charset contentTypeCharset = message.getBody() instanceof String ?
getContentTypeCharset(contentType) : null;
@@ -704,7 +704,7 @@ public class DefaultHttpBinding implements HttpBinding {
bytes = ((String) body).getBytes(contentTypeCharset);
} else {
// convert the body only: message.getBody(byte[].class) falls
back to converting the HTTP message, which
- // gives the request stream. A body that is not convertable as
bytes (a Map, List, POJO or number) is
+ // gives the request stream. A body that is not convertible as
bytes (a Map, List, POJO or number) is
// written as a String in the charset of the exchange
bytes =
exchange.getContext().getTypeConverter().convertTo(byte[].class, exchange,
body);
if (bytes == null) {
diff --git
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
index d3d50c819cb2..9b2e3448cc97 100644
---
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
+++
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonComponent.java
@@ -101,7 +101,7 @@ public abstract class HttpCommonComponent extends
HeaderFilterStrategyComponent
}
/**
- * Checks whether the consumer is possible to connect to the endoint.
+ * Checks whether the consumer is possible to connect to the endpoint.
*
* @param consumer the consumer
* @throws Exception can be thrown
diff --git
a/components/camel-iggy/src/main/java/org/apache/camel/component/iggy/IggyConsumer.java
b/components/camel-iggy/src/main/java/org/apache/camel/component/iggy/IggyConsumer.java
index d0326e90eb33..d849d61e4e9f 100644
---
a/components/camel-iggy/src/main/java/org/apache/camel/component/iggy/IggyConsumer.java
+++
b/components/camel-iggy/src/main/java/org/apache/camel/component/iggy/IggyConsumer.java
@@ -77,7 +77,7 @@ public class IggyConsumer extends DefaultConsumer {
BridgeExceptionHandlerToErrorHandler bridge = new
BridgeExceptionHandlerToErrorHandler(this);
// For now, we'll just have one consumer task. This can be extended
later if Iggy supports partitioned consumption.
- // TODO Handle streams, once tehy will be implemented in the java
client
+ // TODO Handle streams, once they will be implemented in the java
client
IggyFetchRecords task = new IggyFetchRecords(
this,
endpoint,
diff --git
a/components/camel-infinispan/camel-infinispan-embedded/src/main/java/org/apache/camel/component/infinispan/embedded/cluster/InfinispanEmbeddedClusterConfiguration.java
b/components/camel-infinispan/camel-infinispan-embedded/src/main/java/org/apache/camel/component/infinispan/embedded/cluster/InfinispanEmbeddedClusterConfiguration.java
index 8e473b52eaee..0197c649bbce 100644
---
a/components/camel-infinispan/camel-infinispan-embedded/src/main/java/org/apache/camel/component/infinispan/embedded/cluster/InfinispanEmbeddedClusterConfiguration.java
+++
b/components/camel-infinispan/camel-infinispan-embedded/src/main/java/org/apache/camel/component/infinispan/embedded/cluster/InfinispanEmbeddedClusterConfiguration.java
@@ -22,7 +22,7 @@ import org.infinispan.configuration.cache.Configuration;
import org.infinispan.manager.EmbeddedCacheManager;
@SuppressWarnings("unused")
-// NOTE, altough redundant, the Cloneable interface is required during sources
generation process, so it must stay.
+// NOTE, although redundant, the Cloneable interface is required during
sources generation process, so it must stay.
public class InfinispanEmbeddedClusterConfiguration
extends InfinispanClusterConfiguration<InfinispanEmbeddedConfiguration>
implements Cloneable {
diff --git
a/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/cluster/InfinispanRemoteClusterConfiguration.java
b/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/cluster/InfinispanRemoteClusterConfiguration.java
index da145b602399..fdd848dc3932 100644
---
a/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/cluster/InfinispanRemoteClusterConfiguration.java
+++
b/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/cluster/InfinispanRemoteClusterConfiguration.java
@@ -24,7 +24,7 @@ import org.infinispan.client.hotrod.RemoteCacheManager;
import org.infinispan.client.hotrod.configuration.Configuration;
@SuppressWarnings("unused")
-// NOTE, altough redundant, the Cloneable interface is required during sources
generation process, so it must stay.
+// NOTE, although redundant, the Cloneable interface is required during
sources generation process, so it must stay.
public class InfinispanRemoteClusterConfiguration
extends InfinispanClusterConfiguration<InfinispanRemoteConfiguration>
implements Cloneable {
diff --git
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessageHelper.java
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessageHelper.java
index eb301f89ba17..da6612e2fb8e 100644
---
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessageHelper.java
+++
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessageHelper.java
@@ -351,7 +351,7 @@ public final class JmsMessageHelper {
* For a given message, evaluates what is the redelivery state for it and
gives the appropriate {@link MessageTrait}
* for that redelivery state
*
- * @param message the message to evalute
+ * @param message the message to evaluate
* @return The appropriate MessageTrait for the redelivery state
(one of MessageTrait.UNDEFINED_REDELIVERY,
* MessageTrait.IS_REDELIVERY or
MessageTrait.NON_REDELIVERY).
*/
diff --git
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorErrorHandler.java
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorErrorHandler.java
index dba59f966848..2c36f600039e 100644
---
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorErrorHandler.java
+++
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorErrorHandler.java
@@ -36,7 +36,7 @@ public interface JsonValidatorErrorHandler {
void handleErrors(Exchange exchange, Schema schema, Set<Error> errors)
throws ValidationException;
/**
- * Process a general error that happens during valdating
+ * Process a general error that happens during validating
*
* @param exchange the exchange
* @param schema the schema
diff --git
a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonStream.java
b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonStream.java
index 5deeff2da5b3..1f08e628261d 100644
---
a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonStream.java
+++
b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonStream.java
@@ -63,7 +63,7 @@ public class JsonStream extends FilterInputStream {
*
* @param in input stream must contain a JSON
content
* @throws IOException if an error occurs during the
determination of the encoding
- * @throws CharConversionException if the UCS4 endianess 2143 or 3412 is
used
+ * @throws CharConversionException if the UCS4 endianness 2143 or 3412 is
used
* @throws IllegalArgumentException if the input stream is
<code>null</code>
*/
public JsonStream(InputStream in) throws IOException {
diff --git
a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/easypredicate/EasyPredicateParser.java
b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/easypredicate/EasyPredicateParser.java
index 7d120a3c7fe6..d5101f5f0128 100644
---
a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/easypredicate/EasyPredicateParser.java
+++
b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/easypredicate/EasyPredicateParser.java
@@ -104,7 +104,7 @@ public class EasyPredicateParser {
* Splits the predicate into: left OP right
*
* @param predicate the predicate
- * @return the splitted parts
+ * @return the split parts
*/
private static String[] tokens(String predicate) {
List<String> list = new ArrayList<>();
diff --git
a/components/camel-kafka-common/src/main/java/org/apache/camel/component/kafka/KafkaClientConfiguration.java
b/components/camel-kafka-common/src/main/java/org/apache/camel/component/kafka/KafkaClientConfiguration.java
index c28f670505bc..f7e87fb2f9cc 100644
---
a/components/camel-kafka-common/src/main/java/org/apache/camel/component/kafka/KafkaClientConfiguration.java
+++
b/components/camel-kafka-common/src/main/java/org/apache/camel/component/kafka/KafkaClientConfiguration.java
@@ -545,7 +545,7 @@ public abstract class KafkaClientConfiguration implements
Cloneable, HeaderFilte
addPropertyIfNotNull(props, SslConfigs.SSL_KEY_PASSWORD_CONFIG,
keyManagers.getKeyPassword());
KeyStoreParameters keyStore = keyManagers.getKeyStore();
if (keyStore != null) {
- // kakfa loads the resource itself and you cannot have a prefix
+ // kafka loads the resource itself and you cannot have a prefix
String location = keyStore.getResource();
if (ResourceHelper.hasScheme(location)) {
location = StringHelper.after(location, ":");
@@ -561,7 +561,7 @@ public abstract class KafkaClientConfiguration implements
Cloneable, HeaderFilte
addPropertyIfNotNull(props,
SslConfigs.SSL_TRUSTMANAGER_ALGORITHM_CONFIG, trustManagers.getAlgorithm());
KeyStoreParameters keyStore = trustManagers.getKeyStore();
if (keyStore != null) {
- // kakfa loads the resource itself and you cannot have a prefix
+ // kafka loads the resource itself and you cannot have a prefix
String location = keyStore.getResource();
if (ResourceHelper.hasScheme(location)) {
location = StringHelper.after(location, ":");
diff --git
a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java
index ee5766a39dad..9d237c4432a5 100644
---
a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java
+++
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java
@@ -815,7 +815,7 @@ public class MailBinding {
exchange.getIn().removeHeader(configuration.getAlternativeBodyHeader());
multipartAlternative.addBodyPart(plainText);
- // if there are no attachments, add the body to the same mulitpart
message
+ // if there are no attachments, add the body to the same multipart
message
if (!exchange.getIn(AttachmentMessage.class).hasAttachments()) {
addBodyToMultipart(configuration, multipartAlternative, exchange);
} else {
diff --git
a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailSorter.java
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailSorter.java
index 86258f2a81d2..715034c51b1d 100644
---
a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailSorter.java
+++
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailSorter.java
@@ -57,7 +57,7 @@ public final class MailSorter {
* @return Sort terms list including if the respective sort
should be sorted in descending order
*/
private static List<SortTermWithDescending>
getSortTermsWithDescending(SortTerm[] sortTerm) {
- // List of reversable sort terms. If the boolean is true the
respective sort term is descending
+ // List of reversible sort terms. If the boolean is true the
respective sort term is descending
final List<SortTermWithDescending> sortTermsWithDescending = new
ArrayList<>(sortTerm.length);
// Descending next item in input because the last item was a
"descending"
boolean descendingNext = false;
diff --git
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/server/MiloServerComponent.java
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/server/MiloServerComponent.java
index b43baa0f280e..f331e9fb1fde 100644
---
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/server/MiloServerComponent.java
+++
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/server/MiloServerComponent.java
@@ -226,7 +226,7 @@ public class MiloServerComponent extends DefaultComponent {
private OpcUaServerConfigBuilder createDefaultConfiguration() {
final OpcUaServerConfigBuilder cfg = OpcUaServerConfig.builder();
- // cfg.setCertificateManager(new DefaultCertificateManager());
// TODO there is already der CertificateManager intialization below
+ // cfg.setCertificateManager(new DefaultCertificateManager());
// TODO there is already der CertificateManager initialization below
//
cfg.setCertificateValidator(DenyAllCertificateValidator.INSTANCE); // TODO
moved to createCertificateGroup
cfg.setEndpoints(createEndpointConfigs(null));
cfg.setApplicationName(LocalizedText.english(applicationName == null ?
"Apache Camel Milo Server" : applicationName));
diff --git
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
index 7ca3a2f41698..194331e04a98 100644
---
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
+++
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
@@ -566,7 +566,7 @@ public class MockValueBuilder implements Expression,
Predicate {
}
/**
- * Sorts the current value using the given comparator. The current value
must be convertable to a {@link List} to
+ * Sorts the current value using the given comparator. The current value
must be convertible to a {@link List} to
* allow sorting using the comparator.
*
* @param comparator the comparator used by sorting
diff --git
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/ClientInitializerFactory.java
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/ClientInitializerFactory.java
index 3501de556a70..2e86e63f2b84 100644
---
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/ClientInitializerFactory.java
+++
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/ClientInitializerFactory.java
@@ -23,7 +23,7 @@ import io.netty.channel.ChannelPipeline;
/**
* Factory to create {@link ChannelPipeline} for clients, eg {@link
NettyProducer}.
* <p/>
- * Implementators must support creating a new instance of this factory which
is associated to the given
+ * Implementers must support creating a new instance of this factory which is
associated to the given
* {@link NettyProducer} using the {@link
#createPipelineFactory(NettyProducer)} method.
*
* @see ChannelInitializer
diff --git
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/ServerInitializerFactory.java
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/ServerInitializerFactory.java
index ceb15a0edd2e..2c04aeb25d22 100644
---
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/ServerInitializerFactory.java
+++
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/ServerInitializerFactory.java
@@ -23,7 +23,7 @@ import io.netty.channel.ChannelPipeline;
/**
* Factory to create {@link ChannelPipeline} for servers, eg {@link
NettyConsumer}.
* <p/>
- * Implementators must support creating a new instance of this factory which
is associated to the given
+ * Implementers must support creating a new instance of this factory which is
associated to the given
* {@link NettyConsumer} using the {@link
#createPipelineFactory(NettyConsumer)} method.
*
* @see ChannelInitializer
diff --git
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
index 72289ab9e027..222182fb962c 100644
---
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
+++
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/util/SubnetUtils.java
@@ -133,7 +133,7 @@ public class SubnetUtils {
/**
* Returns true if the parameter <code>address</code> is in the range
of usable endpoint addresses for this
- * subnet. This excludes the network and broadcast adresses.
+ * subnet. This excludes the network and broadcast addresses.
*
* @param address A dot-delimited IPv4 address, e.g. "192.168.0.1"
* @return True if in range, false otherwise
diff --git
a/components/camel-openapi-java/src/main/java/org/apache/camel/openapi/RestOpenApiReader.java
b/components/camel-openapi-java/src/main/java/org/apache/camel/openapi/RestOpenApiReader.java
index 28dfa6b36365..70196164369f 100644
---
a/components/camel-openapi-java/src/main/java/org/apache/camel/openapi/RestOpenApiReader.java
+++
b/components/camel-openapi-java/src/main/java/org/apache/camel/openapi/RestOpenApiReader.java
@@ -280,7 +280,7 @@ public class RestOpenApiReader {
verbs.sort(new VerbOrdering(camelContext));
// we need to group the operations within the same tag, so use the
path as default if not configured
- // Multi tag support for a comma delimeted tag
+ // Multi tag support for a comma delimited tag
String[] pathAsTags = null != rest.getTag()
? getValue(camelContext, rest.getTag()).split(",")
: null != rest.getPath()
@@ -1191,12 +1191,12 @@ public class RestOpenApiReader {
public int compare(VerbDefinition a, VerbDefinition b) {
String u1 = "";
if (a.getPath() != null) {
- // replace { with _ which comes before a when soring by char
+ // replace { with _ which comes before a when sorting by char
u1 = getValue(camelContext, a.getPath()).replace("{", "_");
}
String u2 = "";
if (b.getPath() != null) {
- // replace { with _ which comes before a when soring by char
+ // replace { with _ which comes before a when sorting by char
u2 = getValue(camelContext, b.getPath()).replace("{", "_");
}
diff --git
a/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/ReactiveStreamsBackpressureStrategy.java
b/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/ReactiveStreamsBackpressureStrategy.java
index 3e3e592daeb6..830931cdf876 100644
---
a/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/ReactiveStreamsBackpressureStrategy.java
+++
b/components/camel-reactive-streams/src/main/java/org/apache/camel/component/reactive/streams/ReactiveStreamsBackpressureStrategy.java
@@ -79,7 +79,7 @@ public enum ReactiveStreamsBackpressureStrategy {
* Updates the buffer and returns a list of discarded elements (if any).
*
* @param buffer the buffer to update
- * @param newItem the elment that should possibly be inserted
+ * @param newItem the element that should possibly be inserted
* @param <T> the generic type of the element
* @return the list of discarded elements
*/
diff --git
a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
index 4eba8c7f8ee2..aef393a322ae 100644
---
a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
+++
b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducerBindingProcessor.java
@@ -144,7 +144,7 @@ public class RestProducerBindingProcessor extends
DelegateAsyncProcessor {
// okay now we can continue routing to the producer
return getProcessor().process(exchange, callback);
} else {
- // if its convertable to stream based then its not POJO based
+ // if its convertible to stream based then its not POJO based
InputStream is =
camelContext.getTypeConverter().tryConvertTo(InputStream.class, exchange, body);
if (is != null) {
exchange.getIn().setBody(is);
diff --git
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceClientTemplate.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceClientTemplate.java
index 37cbba3592f3..f694de15996d 100644
---
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceClientTemplate.java
+++
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceClientTemplate.java
@@ -61,7 +61,7 @@ final class SalesforceClientTemplate {
private static <T> T invokeInternal(final RestClient client, final
WithClient<T> performer) throws Exception {
// we'll handle HTTP client lifecycle so we'll start here and stop at
- // the end; we won't handle SalesforceSession lifecycle as stoping a
+ // the end; we won't handle SalesforceSession lifecycle as stopping a
// SalesforceSession that we borrowed from a configured
// SalesforceComponent could mean logging out any running endpoints
also
final boolean isHttpClientHolder = client instanceof HttpClientHolder;
diff --git
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ObjectFactory.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ObjectFactory.java
index 47b9cd2f739f..d1ee11536111 100644
---
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ObjectFactory.java
+++
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/bulk/ObjectFactory.java
@@ -26,7 +26,7 @@ import javax.xml.namespace.QName;
* This object contains factory methods for each Java content interface and
Java element interface in the
* org.apache.camel.component.salesforce.api.dto.bulk package.
* <p>
- * An ObjectFactory allows you to programatically construct new instances of
the Java representation for XML content.
+ * An ObjectFactory allows you to programmatically construct new instances of
the Java representation for XML content.
* The Java representation of XML content can consist of schema derived
interfaces and classes representing the binding
* of schema type definitions, element declarations and model groups. Factory
methods for each of these are provided in
* this class.
diff --git
a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsMessageHelper.java
b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsMessageHelper.java
index 7a67fc2b630f..661b64c038d3 100644
---
a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsMessageHelper.java
+++
b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsMessageHelper.java
@@ -338,7 +338,7 @@ public final class JmsMessageHelper {
* For a given message, evaluates what is the redelivery state for it and
gives the appropriate {@link MessageTrait}
* for that redelivery state
*
- * @param message the message to evalute
+ * @param message the message to evaluate
* @return The appropriate MessageTrait for the redelivery state
(one of MessageTrait.UNDEFINED_REDELIVERY,
* MessageTrait.IS_REDELIVERY or
MessageTrait.NON_REDELIVERY).
*/
diff --git
a/components/camel-smooks/src/main/java/org/apache/camel/component/smooks/routing/BeanRouterObserver.java
b/components/camel-smooks/src/main/java/org/apache/camel/component/smooks/routing/BeanRouterObserver.java
index 8663731ee407..3510425fa102 100644
---
a/components/camel-smooks/src/main/java/org/apache/camel/component/smooks/routing/BeanRouterObserver.java
+++
b/components/camel-smooks/src/main/java/org/apache/camel/component/smooks/routing/BeanRouterObserver.java
@@ -35,7 +35,7 @@ public class BeanRouterObserver implements
BeanContextLifecycleObserver {
private ExecutionContextExpressionEvaluator conditionEvaluator;
/**
- * Sole contructor.
+ * Sole constructor.
*
* @param beanRouter The bean router instance to be used for routing beans.
* @param beanId The beanId which is the beanId in the Smooks {@link
BeanContext}.
diff --git
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppNLSTSplitter.java
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppNLSTSplitter.java
index 7311156e55a6..6b8126491036 100644
---
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppNLSTSplitter.java
+++
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppNLSTSplitter.java
@@ -37,9 +37,9 @@ public class SmppNLSTSplitter extends SmppSplitter {
protected static final int UDHIE_NLI_SINGLE_MSG_HEADER_REAL_LENGTH =
UDHIE_NLI_SINGLE_MSG_HEADER_LENGTH + 1;
/**
- * The length of the UDH for splitted short messages, in bytes. 0x08
Overall header length 0x00 The value that
+ * The length of the UDH for split short messages, in bytes. 0x08 Overall
header length 0x00 The value that
* identifier length of the SAR fragment. (8bit reference number only)
0x03 The length of the SAR fragment 0xXX The
- * reference number for SAR 0xXX Total number of splitted / segmented
messages 0xXX Segment number 0x25 National
+ * reference number for SAR 0xXX Total number of split / segmented
messages 0xXX Segment number 0x25 National
* language locking shift element identifier 0x01 Length of the header
0xXX Locking shift table indicator for the
* Language (ie: 0x01 for Turkish)
*/
diff --git
a/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/name/ElementNameStrategy.java
b/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/name/ElementNameStrategy.java
index 7f9a7dfe65c0..fe85daeeef7a 100644
---
a/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/name/ElementNameStrategy.java
+++
b/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/name/ElementNameStrategy.java
@@ -24,7 +24,7 @@ import javax.xml.namespace.QName;
public interface ElementNameStrategy {
/**
- * Deterimine element name for given type
+ * Determine element name for given type
*
* @param soapAction
* @param type
diff --git
a/components/camel-spring-parent/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectSender.java
b/components/camel-spring-parent/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectSender.java
index 33037ea14bc7..d39903dfba1b 100644
---
a/components/camel-spring-parent/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectSender.java
+++
b/components/camel-spring-parent/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/bean/CamelDirectSender.java
@@ -25,8 +25,8 @@ import org.springframework.ws.transport.WebServiceConnection;
import org.springframework.ws.transport.WebServiceMessageSender;
/**
- * Use this class with conjuctions of wsa:replyTo custom routing using prefix
direct Received message will be route like
- * this: <to uri="direct:uri" />
+ * Use this class with conjunctions of wsa:replyTo custom routing using prefix
direct Received message will be route
+ * like this: <to uri="direct:uri" />
*/
public class CamelDirectSender implements WebServiceMessageSender {
diff --git
a/components/camel-spring-parent/camel-spring-xml/src/main/java/org/apache/camel/spring/xml/SpringErrorHandlerDefinition.java
b/components/camel-spring-parent/camel-spring-xml/src/main/java/org/apache/camel/spring/xml/SpringErrorHandlerDefinition.java
index 65d96c652895..bf52d38cb82b 100644
---
a/components/camel-spring-parent/camel-spring-xml/src/main/java/org/apache/camel/spring/xml/SpringErrorHandlerDefinition.java
+++
b/components/camel-spring-parent/camel-spring-xml/src/main/java/org/apache/camel/spring/xml/SpringErrorHandlerDefinition.java
@@ -175,7 +175,7 @@ public class SpringErrorHandlerDefinition extends
IdentifiedType {
* are connected using internal endpoints such as direct or seda. When
messages is passed via external endpoints
* such as JMS or HTTP then the consumer will create a new unit of work,
with the message it received as input as
* the original input. Also some EIP patterns such as splitter, multicast,
will create a new unit of work boundary
- * for the messages in their sub-route (eg the splitted message); however
these EIPs have an option named
+ * for the messages in their sub-route (eg the split message); however
these EIPs have an option named
* <tt>shareUnitOfWork</tt> which allows to combine with the parent unit
of work in regard to error handling and
* therefore use the parent original message.
* <p/>
@@ -214,7 +214,7 @@ public class SpringErrorHandlerDefinition extends
IdentifiedType {
* are connected using internal endpoints such as direct or seda. When
messages is passed via external endpoints
* such as JMS or HTTP then the consumer will create a new unit of work,
with the message it received as input as
* the original input. Also some EIP patterns such as splitter, multicast,
will create a new unit of work boundary
- * for the messages in their sub-route (eg the splitted message); however
these EIPs have an option named
+ * for the messages in their sub-route (eg the split message); however
these EIPs have an option named
* <tt>shareUnitOfWork</tt> which allows to combine with the parent unit
of work in regard to error handling and
* therefore use the parent original message.
* <p/>
diff --git
a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/SshHelper.java
b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/SshHelper.java
index c26a4bc93fe5..66e048facc87 100644
---
a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/SshHelper.java
+++
b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/SshHelper.java
@@ -167,7 +167,7 @@ public final class SshHelper {
// for now only two channel types are supported
// shell option is added for specific purpose for now
- // may need further maintainance for further use cases
+ // may need further maintenance for further use cases
if (Channel.CHANNEL_EXEC.equals(endpoint.getChannelType())) {
channel = session.createChannel(Channel.CHANNEL_EXEC, command);
in = new ByteArrayInputStream(new byte[] { 0 });
diff --git
a/components/camel-stax/src/main/java/org/apache/camel/component/stax/StAXProcessor.java
b/components/camel-stax/src/main/java/org/apache/camel/component/stax/StAXProcessor.java
index 008b80d7be84..47130ddd3dc5 100644
---
a/components/camel-stax/src/main/java/org/apache/camel/component/stax/StAXProcessor.java
+++
b/components/camel-stax/src/main/java/org/apache/camel/component/stax/StAXProcessor.java
@@ -33,7 +33,7 @@ import org.apache.camel.util.IOHelper;
/**
* It uses SAX content handler to handle events.
* <p/>
- * The {@link Exchange} is expected to contain a message body that is
convertable to a {@link XMLStreamReader} (such as
+ * The {@link Exchange} is expected to contain a message body that is
convertible to a {@link XMLStreamReader} (such as
* text, a stream, a file or a {@link javax.xml.transform.Source}) or to an
{@link InputStream} (such as bytes, a path
* or a DOM document) to support StAX streaming.
*/
diff --git
a/components/camel-syslog/src/main/java/org/apache/camel/component/syslog/SyslogConstants.java
b/components/camel-syslog/src/main/java/org/apache/camel/component/syslog/SyslogConstants.java
index cbbfcc6f2c28..c3583ab7bc61 100644
---
a/components/camel-syslog/src/main/java/org/apache/camel/component/syslog/SyslogConstants.java
+++
b/components/camel-syslog/src/main/java/org/apache/camel/component/syslog/SyslogConstants.java
@@ -29,7 +29,7 @@ public final class SyslogConstants {
public static final String SYSLOG_REMOTE_ADDRESS =
"CamelSyslogRemoteAddress";
/**
- * The Sylog message Facility
+ * The Syslog message Facility
*/
public static final String SYSLOG_FACILITY = "CamelSyslogFacility";
diff --git
a/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/auth/WordpressAuthentication.java
b/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/auth/WordpressAuthentication.java
index 0741288c8502..99696498d56f 100644
---
a/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/auth/WordpressAuthentication.java
+++
b/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/auth/WordpressAuthentication.java
@@ -17,7 +17,7 @@
package org.apache.camel.component.wordpress.api.auth;
/**
- * Wordpress Authentication Mecanism needed to perform privileged actions like
create, update or delete a post.
+ * Wordpress Authentication Mechanism needed to perform privileged actions
like create, update or delete a post.
*
* @see <a href=
"https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/">Wordpress
API
* Authentication</a>
diff --git
a/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/model/SearchCriteria.java
b/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/model/SearchCriteria.java
index 503f9588ae19..9fc111e019d9 100644
---
a/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/model/SearchCriteria.java
+++
b/components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/model/SearchCriteria.java
@@ -20,7 +20,7 @@ import java.io.Serializable;
import java.util.List;
/**
- * Search criterias.
+ * Search criteria.
*/
public class SearchCriteria implements Serializable {
diff --git
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java
index 91149981a0a0..37023ccfa9f3 100644
---
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java
+++
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java
@@ -94,7 +94,7 @@ public interface XmlSignatureProperties {
String getContentReferenceUri();
/**
- * Retruns the signature type.
+ * Returns the signature type.
*
* @return signature type
*/
diff --git
a/components/camel-zookeeper-master/src/main/java/org/apache/camel/component/zookeepermaster/group/internal/ZooKeeperGroup.java
b/components/camel-zookeeper-master/src/main/java/org/apache/camel/component/zookeepermaster/group/internal/ZooKeeperGroup.java
index 08ee24c72863..ce092dcfb568 100644
---
a/components/camel-zookeeper-master/src/main/java/org/apache/camel/component/zookeepermaster/group/internal/ZooKeeperGroup.java
+++
b/components/camel-zookeeper-master/src/main/java/org/apache/camel/component/zookeepermaster/group/internal/ZooKeeperGroup.java
@@ -94,7 +94,7 @@ public class ZooKeeperGroup<T extends NodeState> implements
Group<T> {
private volatile String id;
// to help detecting whether ZK Group update failed
private final AtomicBoolean creating = new AtomicBoolean();
- // flag indicating that ephemeral node could be created in registry, but
exact sequence ID is uknown
+ // flag indicating that ephemeral node could be created in registry, but
exact sequence ID is unknown
// this status means we may have (temporary - for the period of ZK
session) duplication of nodes
private final AtomicBoolean unstable = new AtomicBoolean();
private volatile T state;
diff --git
a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java
b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java
index 9b098f600ad7..11f9788ce75c 100644
---
a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java
+++
b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java
@@ -28,7 +28,7 @@ import org.apache.camel.spi.UriPath;
/**
* <code>ZookeeperConfiguration</code> encapsulates the configuration used to
interact with a ZooKeeper cluster. Most
- * typically it is parsed from endpoint uri but may also be configured
programatically and applied to a
+ * typically it is parsed from endpoint uri but may also be configured
programmatically and applied to a
* {@link ZooKeeperComponent}. A copy of this component's configuration will
be injected into any
* {@link ZooKeeperEndpoint}s the component creates.
*/
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/Debugger.java
b/core/camel-api/src/main/java/org/apache/camel/spi/Debugger.java
index a29465755a4e..127d2581f93e 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/Debugger.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/Debugger.java
@@ -125,7 +125,7 @@ public interface Debugger extends Service,
CamelContextAware {
void stopSingleStepExchange(String exchangeId);
/**
- * Callback invoked when an {@link Exchange} is about to be processed
which allows implementators to notify
+ * Callback invoked when an {@link Exchange} is about to be processed
which allows implementers to notify
* breakpoints.
*
* @param exchange the exchange
@@ -136,7 +136,7 @@ public interface Debugger extends Service,
CamelContextAware {
boolean beforeProcess(Exchange exchange, Processor processor, NamedNode
definition);
/**
- * Callback invoked when an {@link Exchange} has been processed which
allows implementators to notify breakpoints.
+ * Callback invoked when an {@link Exchange} has been processed which
allows implementers to notify breakpoints.
*
* @param exchange the exchange
* @param processor the {@link Processor} which was processed
@@ -148,7 +148,7 @@ public interface Debugger extends Service,
CamelContextAware {
boolean afterProcess(Exchange exchange, Processor processor, NamedNode
definition, long timeTaken);
/**
- * Callback invoked when an {@link Exchange} is being processed which
allows implementators to notify breakpoints.
+ * Callback invoked when an {@link Exchange} is being processed which
allows implementers to notify breakpoints.
*
* @param exchange the exchange
* @param event the event (instance of {@link ExchangeEvent}
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/Policy.java
b/core/camel-api/src/main/java/org/apache/camel/spi/Policy.java
index d04a97e8584d..5db91935ac22 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/Policy.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/Policy.java
@@ -40,7 +40,7 @@ public interface Policy {
* Hook invoked before the wrap.
* <p/>
* This allows you to do any custom logic before the processor is wrapped.
For example to manipulate the
- * {@link org.apache.camel.model.ProcessorDefinition definiton}.
+ * {@link org.apache.camel.model.ProcessorDefinition definition}.
*
* @param route the route context
* @param definition the processor definition
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/RouteError.java
b/core/camel-api/src/main/java/org/apache/camel/spi/RouteError.java
index d391f0ec2735..2b862042e360 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/RouteError.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/RouteError.java
@@ -22,7 +22,7 @@ import java.util.Date;
* The last error that happened during changing the route lifecycle, i.e. such
as when an exception was thrown during
* starting the route.
* <p/>
- * This is only errors for route lifecycle changes, it is not exceptions
thrown during routing messsages with the Camel
+ * This is only errors for route lifecycle changes, it is not exceptions
thrown during routing messages with the Camel
* routing engine.
*/
public interface RouteError {
diff --git
a/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownAware.java
b/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownAware.java
index 373f9fd3635f..47de2605bb76 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownAware.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownAware.java
@@ -29,7 +29,7 @@ public interface ShutdownAware extends ShutdownPrepared {
/**
* To defer shutdown during first phase of shutdown. This allows any
pending exchanges to be completed and therefore
- * ensure a graceful shutdown without loosing messages. At the very end
when there are no more inflight and pending
+ * ensure a graceful shutdown without losing messages. At the very end
when there are no more inflight and pending
* messages the consumer could then safely be shutdown.
* <p/>
* This is needed by {@link org.apache.camel.component.seda.SedaConsumer}.
diff --git
a/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownPrepared.java
b/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownPrepared.java
index 666dc38abdcf..c5084b2b0f0c 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownPrepared.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/ShutdownPrepared.java
@@ -19,7 +19,7 @@ package org.apache.camel.spi;
/**
* Allows a {@link org.apache.camel.Service} to prepare for shutdown.
* <p/>
- * <b>Important: </b> Implementators of this interface must be a {@link
org.apache.camel.Service} as well.
+ * <b>Important: </b> Implementers of this interface must be a {@link
org.apache.camel.Service} as well.
* <p/>
* This allows {@link org.apache.camel.Processor}s to prepare for shutdown,
such as when
* {@link org.apache.camel.CamelContext} or a {@link org.apache.camel.Route}
is shutting down. The
diff --git
a/core/camel-api/src/main/java/org/apache/camel/spi/TypeConvertible.java
b/core/camel-api/src/main/java/org/apache/camel/spi/TypeConvertible.java
index 062edabd3359..3af19a259f09 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/TypeConvertible.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/TypeConvertible.java
@@ -127,7 +127,7 @@ public final class TypeConvertible<F, T> {
}
/**
- * Tests whether the types defined in this type convertable pair are
assignable from another type convertable pair
+ * Tests whether the types defined in this type convertible pair are
assignable from another type convertible pair
*
* @param that the type convertible pair to test
* @return true if the types in this instance are assignable from the
respective types in the given type
diff --git
a/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
b/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
index c33c58ccbacf..de0015bde178 100644
---
a/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
+++
b/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
@@ -364,7 +364,7 @@ public abstract class AbstractCamelCatalog {
// is duration
if (!multiValue && !valuePlaceholder && !lookup &&
"duration".equals(row.getType())) {
- // value must be convertable to a duration
+ // value must be convertible to a duration
boolean valid = validateDuration(value);
if (!valid) {
result.addInvalidDuration(name, value);
@@ -1363,7 +1363,7 @@ public abstract class AbstractCamelCatalog {
// is duration
if (!optionPlaceholder && !lookup &&
"duration".equals(row.getType())) {
- // value must be convertable to a duration
+ // value must be convertible to a duration
boolean valid = validateDuration(value);
if (!valid) {
result.addInvalidDuration(longKey, value);
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategies.java
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategies.java
index 1c54d3473052..1579745b896a 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategies.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategies.java
@@ -72,7 +72,7 @@ public final class AggregationStrategies {
/**
* Use the original exchange.
*
- * @param propagateException whether to propgate exception if errors was
thrown during processing split messages.
+ * @param propagateException whether to propagate exception if errors was
thrown during processing split messages.
* @see
org.apache.camel.processor.aggregate.UseOriginalAggregationStrategy
*/
public static AggregationStrategy useOriginal(boolean propagateException) {
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategyClause.java
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategyClause.java
index 302330b4b80b..891528040e6c 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategyClause.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AggregationStrategyClause.java
@@ -47,7 +47,7 @@ public class AggregationStrategyClause<T> implements
AggregationStrategy {
// *******************************
/**
- * Define an aggregation strategy which targets the exchnage.
+ * Define an aggregation strategy which targets the exchange.
*/
public T exchange(final BiFunction<Exchange, Exchange, Exchange> function)
{
strategy = function::apply;
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/builder/DataFormatClause.java
b/core/camel-core-model/src/main/java/org/apache/camel/builder/DataFormatClause.java
index 05d76a824f4d..b02d05425cdc 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/builder/DataFormatClause.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/builder/DataFormatClause.java
@@ -107,7 +107,7 @@ public class DataFormatClause<T extends
ProcessorDefinition<?>> {
}
/**
- * Uses Avro data format with tje given library and schema
+ * Uses Avro data format with the given library and schema
*/
public T avro(AvroLibrary library, Object schema) {
AvroDataFormat dataFormat = new AvroDataFormat();
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java
b/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java
index ca0f5f1d2b80..87191d017639 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/builder/NotifyBuilder.java
@@ -471,7 +471,7 @@ public class NotifyBuilder {
}
/**
- * Sets a condition when tne <tt>n'th</tt> (by index) {@link Exchange} is
done being processed.
+ * Sets a condition when the <tt>n'th</tt> (by index) {@link Exchange} is
done being processed.
* <p/>
* The difference between <i>done</i> and <i>completed</i> is that done
can also include failed messages, where as
* completed is only successful processed messages.
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
index d1fd12db95c6..117a6669a17f 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
@@ -555,7 +555,7 @@ public abstract class ProcessorDefinition<Type extends
ProcessorDefinition<Type>
* <a
href="http://camel.apache.org/exchange-pattern.html">ExchangePattern:</a> set
the {@link ExchangePattern} into
* the {@link Exchange}.
* <p/>
- * The pattern set on the {@link Exchange} will be changed from this point
going foward.
+ * The pattern set on the {@link Exchange} will be changed from this point
going forward.
*
* @param exchangePattern instance of {@link ExchangePattern}
* @return the builder
@@ -569,7 +569,7 @@ public abstract class ProcessorDefinition<Type extends
ProcessorDefinition<Type>
* <a
href="http://camel.apache.org/exchange-pattern.html">ExchangePattern:</a> set
the {@link ExchangePattern} into
* the {@link Exchange}.
* <p/>
- * The pattern set on the {@link Exchange} will be changed from this point
going foward.
+ * The pattern set on the {@link Exchange} will be changed from this point
going forward.
*
* @param exchangePattern the exchange pattern
* @return the builder
@@ -3320,7 +3320,7 @@ public abstract class ProcessorDefinition<Type extends
ProcessorDefinition<Type>
/**
* Sorts the expression using a default sorting based on toString
representation.
*
- * @param expression the expression, must be convertable to {@link List}
+ * @param expression the expression, must be convertible to {@link List}
* @return the builder
*/
public Type sort(Expression expression) {
@@ -3330,7 +3330,7 @@ public abstract class ProcessorDefinition<Type extends
ProcessorDefinition<Type>
/**
* Sorts the expression using the given comparator
*
- * @param expression the expression, must be convertable to {@link List}
+ * @param expression the expression, must be convertible to {@link List}
* @param comparator the comparator to use for sorting
* @return the builder
*/
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/RecipientListDefinition.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/RecipientListDefinition.java
index c7946213977c..da6cd4107770 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/RecipientListDefinition.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/RecipientListDefinition.java
@@ -460,7 +460,7 @@ public class RecipientListDefinition<Type extends
ProcessorDefinition<Type>> ext
/**
* Sets the {@link Processor} when preparing the {@link
org.apache.camel.Exchange} to be used send using a fluent
- * buidler.
+ * builder.
*/
public ProcessClause<RecipientListDefinition<Type>> onPrepare() {
ProcessClause<RecipientListDefinition<Type>> clause = new
ProcessClause<>(this);
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/GroovyXmlDataFormat.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/GroovyXmlDataFormat.java
index 8c43eec4a0d7..0fbd906ca1d5 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/GroovyXmlDataFormat.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/GroovyXmlDataFormat.java
@@ -79,7 +79,7 @@ public class GroovyXmlDataFormat extends DataFormatDefinition
{
/**
* To turn on or off attribute mapping. When enabled then keys that
start with _ or @ character will be mapped
- * to an XML attribute, and vise versa. This rule is what Jackson and
other XML or JSon libraries uses.
+ * to an XML attribute, and vice versa. This rule is what Jackson and
other XML or JSon libraries uses.
*/
public Builder attributeMapping(String attributeMapping) {
this.attributeMapping = attributeMapping;
@@ -88,7 +88,7 @@ public class GroovyXmlDataFormat extends DataFormatDefinition
{
/**
* To turn on or off attribute mapping. When enabled then keys that
start with _ or @ character will be mapped
- * to an XML attribute, and vise versa. This rule is what Jackson and
other XML or JSon libraries uses.
+ * to an XML attribute, and vice versa. This rule is what Jackson and
other XML or JSon libraries uses.
*/
public Builder attributeMapping(boolean attributeMapping) {
this.attributeMapping = Boolean.toString(attributeMapping);
diff --git
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/PGPDataFormat.java
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/PGPDataFormat.java
index 0ae219d316a3..67ed3d601ee6 100644
---
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/PGPDataFormat.java
+++
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/PGPDataFormat.java
@@ -291,7 +291,7 @@ public class PGPDataFormat extends DataFormatDefinition {
* User ID of the key in the PGP keyring used for signing (during
encryption) or signature verification (during
* decryption). During the signature verification process the
specified User ID restricts the public keys from
* the public keyring which can be used for the verification. If no
User ID is specified for the signature
- * verficiation then any public key in the public keyring can be used
for the verification. Can also be only a
+ * verification then any public key in the public keyring can be used
for the verification. Can also be only a
* part of a user ID. For example, if the user ID is "Test User
<[email protected]>" then you can use the part
* "Test User" or "<[email protected]>" to address the User ID.
*/
diff --git
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
index 0246b32f48e9..fed82dafc252 100644
---
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
+++
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
@@ -1636,7 +1636,7 @@ public abstract class RedeliveryErrorHandler extends
ErrorHandlerSupport
exchange);
}
- // emmit event we are doing redelivery
+ // emit event we are doing redelivery
if
(camelContext.getCamelContextExtension().isEventNotificationApplicable()) {
EventHelper.notifyExchangeRedelivery(exchange.getContext(),
exchange, redeliveryCounter);
}
diff --git
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
index 780cfd200051..e96ef5187815 100644
---
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
+++
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
@@ -427,7 +427,7 @@ public class ResequencerEngine<E> {
}
/**
- * Retuns <code>true</code> if the given element is before the last
delivered element.
+ * Returns <code>true</code> if the given element is before the last
delivered element.
*
* @param element an element.
* @return <code>true</code> if the given element is before the
last delivered element.
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/CamelObjectInputStream.java
b/core/camel-support/src/main/java/org/apache/camel/support/CamelObjectInputStream.java
index c87041491901..ecf6c3c89930 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/CamelObjectInputStream.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/CamelObjectInputStream.java
@@ -67,7 +67,7 @@ public class CamelObjectInputStream extends ObjectInputStream
{
if (classLoader != null) {
return Class.forName(desc.getName(), false, classLoader);
} else {
- // If the application classloader is not set we just fallback to
use old behaivor
+ // If the application classloader is not set we just fallback to
use old behavior
return super.resolveClass(desc);
}
}
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
b/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
index 5cb0bf073561..1a83c0d2f355 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/DefaultComponent.java
@@ -393,9 +393,9 @@ public abstract class DefaultComponent extends
ServiceSupport implements Compone
* Configure an endpoint using the given parameters. In the usual cases,
this is the only call needed after having
* created the endpoint in the {@link #createEndpoint(String, String,
Map)} method's implementation.
*
- * This method will call the {@link Endpoint#configureProperties(Map)}
method which should delegate the the
- * endpoint's {@link PropertyConfigurer} instance. In some rare cases, you
need to override this method to
- * explicitely set parameters in case a simple generated configurer can
not be used.
+ * This method will call the {@link Endpoint#configureProperties(Map)}
method which should delegate the endpoint's
+ * {@link PropertyConfigurer} instance. In some rare cases, you need to
override this method to explicitly set
+ * parameters in case a simple generated configurer can not be used.
*
* @param endpoint the endpoint
* @param parameters properties to set
@@ -523,7 +523,7 @@ public abstract class DefaultComponent extends
ServiceSupport implements Compone
*/
public <T> T getAndRemoveOrResolveReferenceParameter(
Map<String, Object> parameters, String key, Class<T> type, T
defaultValue) {
- // the parameter may be the the type already (such as from
endpoint-dsl)
+ // the parameter may be the type already (such as from endpoint-dsl)
Object value = parameters.remove(key);
if (value instanceof String str) {
if (EndpointHelper.isReferenceParameter(str)) {
@@ -580,7 +580,7 @@ public abstract class DefaultComponent extends
ServiceSupport implements Compone
* @throws IllegalArgumentException if referenced object was not found in
registry.
*/
public <T> T resolveAndRemoveReferenceParameter(Map<String, Object>
parameters, String key, Class<T> type, T defaultValue) {
- // the parameter may be the the type already (such as from
endpoint-dsl)
+ // the parameter may be the type already (such as from endpoint-dsl)
Object value = parameters.remove(key);
if (value instanceof String str) {
if (EndpointHelper.isReferenceParameter(str)) {
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/SimpleTypeConverter.java
b/core/camel-support/src/main/java/org/apache/camel/support/SimpleTypeConverter.java
index ce81ab674bd8..8f8d7a1ccb77 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/SimpleTypeConverter.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/SimpleTypeConverter.java
@@ -24,8 +24,8 @@ import org.apache.camel.TypeConverter;
/**
* Another base class for {@link TypeConverter} implementations.
* <p/>
- * Implementators need only to implement a {@link ConversionMethod} method,
and can rely on the default implementations
- * of the other methods from this support class.
+ * Implementers need only to implement a {@link ConversionMethod} method, and
can rely on the default implementations of
+ * the other methods from this support class.
*/
public class SimpleTypeConverter implements TypeConverter {
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/TypeConverterSupport.java
b/core/camel-support/src/main/java/org/apache/camel/support/TypeConverterSupport.java
index c643953df6c5..89f958c2443a 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/TypeConverterSupport.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/TypeConverterSupport.java
@@ -24,7 +24,7 @@ import org.apache.camel.TypeConverter;
/**
* Base class for {@link TypeConverter} implementations.
* <p/>
- * Implementators need only to implement the {@link
TypeConverter#convertTo(Class, org.apache.camel.Exchange, Object)}
+ * Implementers need only to implement the {@link
TypeConverter#convertTo(Class, org.apache.camel.Exchange, Object)}
* method, and can rely on the default implementations of the other methods
from this support class.
*/
public abstract class TypeConverterSupport implements TypeConverter {
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/builder/ValueBuilder.java
b/core/camel-support/src/main/java/org/apache/camel/support/builder/ValueBuilder.java
index a2e9d4bd3d73..15e12f3af9a7 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/builder/ValueBuilder.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/builder/ValueBuilder.java
@@ -268,7 +268,7 @@ public class ValueBuilder implements Expression, Predicate {
}
/**
- * Sorts the current value using the given comparator. The current value
must be convertable to a {@link List} to
+ * Sorts the current value using the given comparator. The current value
must be convertible to a {@link List} to
* allow sorting using the comparator.
*
* @param comparator the comparator used by sorting
diff --git
a/core/camel-xml-io-util/src/main/java/org/apache/camel/xml/io/util/XmlStreamDetector.java
b/core/camel-xml-io-util/src/main/java/org/apache/camel/xml/io/util/XmlStreamDetector.java
index ce20246c707d..db9e455bfd67 100644
---
a/core/camel-xml-io-util/src/main/java/org/apache/camel/xml/io/util/XmlStreamDetector.java
+++
b/core/camel-xml-io-util/src/main/java/org/apache/camel/xml/io/util/XmlStreamDetector.java
@@ -131,7 +131,7 @@ public class XmlStreamDetector {
String value = reader.getAttributeValue(at);
String localPart = qn.getLocalPart();
if (nsURI.isEmpty() || prefix.isEmpty()) {
- // according to XML spec, this attribut is not
namespaced, not in default namespace
+ // according to XML spec, this attribute is
not namespaced, not in default namespace
// https://www.w3.org/TR/xml-names/#defaulting
// > The namespace name for an unprefixed
attribute name always has no value.
information.attributes.put(localPart, value);
diff --git
a/core/camel-xml-io/src/main/java/org/apache/camel/xml/io/MXParser.java
b/core/camel-xml-io/src/main/java/org/apache/camel/xml/io/MXParser.java
index b9fe0ba2d037..2a76c4fbb18c 100644
--- a/core/camel-xml-io/src/main/java/org/apache/camel/xml/io/MXParser.java
+++ b/core/camel-xml-io/src/main/java/org/apache/camel/xml/io/MXParser.java
@@ -576,7 +576,7 @@ public class MXParser implements XmlPullParser {
}
++entityEnd;
// TODO disallow < or & in entity replacement text (or ]]>???)
- // TOOD keepEntityNormalizedForAttributeValue cached as well ...
+ // TODO keepEntityNormalizedForAttributeValue cached as well ...
}
public int getNamespaceCount(int depth) throws XmlPullParserException {
@@ -1350,7 +1350,7 @@ public class MXParser implements XmlPullParser {
} while (ch != '<' && ch != '&');
posEnd = pos - 1;
continue MAIN_LOOP; // skip ch = more() from below - we are
- // alreayd ahead ...
+ // already ahead ...
}
ch = more();
} // endless while(true)
@@ -2539,7 +2539,7 @@ public class MXParser implements XmlPullParser {
final int versionEnd = pos - 1;
parseXmlDeclWithVersion(versionStart, versionEnd);
preventBufferCompaction = false; // alow again buffer commpaction - pos
- // MAY chnage
+ // MAY change
}
// protected String xmlDeclVersion;
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/TransformMessageAction.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/TransformMessageAction.java
index d5f99e341fc4..6a52f2f16261 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/TransformMessageAction.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/TransformMessageAction.java
@@ -284,7 +284,7 @@ public class TransformMessageAction extends
ActionWatchCommand {
}
private void printStatusLine(JsonObject jo) {
- // timstamp
+ // timestamp
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
// an action the integration failed has no timestamp nor elapsed time
String ts = sdf.format(new Date(jo.getLongOrDefault("timestamp",
System.currentTimeMillis())));
diff --git
a/dsl/camel-jbang/camel-jbang-plugin-kubernetes/src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/traits/Trait.java
b/dsl/camel-jbang/camel-jbang-plugin-kubernetes/src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/traits/Trait.java
index 8b952806cc16..409b890c322d 100644
---
a/dsl/camel-jbang/camel-jbang-plugin-kubernetes/src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/traits/Trait.java
+++
b/dsl/camel-jbang/camel-jbang-plugin-kubernetes/src/main/java/org/apache/camel/dsl/jbang/core/commands/kubernetes/traits/Trait.java
@@ -24,7 +24,7 @@ import org.apache.camel.dsl.jbang.run.common.RuntimeType;
public interface Trait extends Comparable<Trait> {
/**
- * Evaluate if Trait configuration is ready to be applyed
+ * Evaluate if Trait configuration is ready to be applied
*
* @param traitConfig trait configuration
* @param context command traits context
diff --git
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonArray.java
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonArray.java
index c8be1b0ed517..853cef2ca1a5 100644
---
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonArray.java
+++
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonArray.java
@@ -221,7 +221,7 @@ public class JsonArray extends ArrayList<Object> implements
Jsonable {
@SuppressWarnings("unchecked")
public <T extends Enum<T>> T getEnum(final int index) throws
ClassNotFoundException {
/*
- * Supressing the unchecked warning because the returnType is
+ * Suppressing the unchecked warning because the returnType is
* dynamically identified and could lead to a ClassCastException when
* returnType is cast to Class<T>, which is expected by the method's
* contract.
diff --git
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonObject.java
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonObject.java
index 47d0a5024da1..a926ee1fdb15 100644
---
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonObject.java
+++
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/JsonObject.java
@@ -576,7 +576,7 @@ public class JsonObject extends LinkedHashMap<String,
Object> implements Jsonabl
@SuppressWarnings("unchecked")
public <T extends Enum<T>> T getEnum(final String key) throws
ClassNotFoundException {
/*
- * Supressing the unchecked warning because the returnType is
+ * Suppressing the unchecked warning because the returnType is
* dynamically identified and could lead to a ClassCastException when
* returnType is cast to Class<T>, which is expected by the method's
* contract.
@@ -647,7 +647,7 @@ public class JsonObject extends LinkedHashMap<String,
Object> implements Jsonabl
@SuppressWarnings("unchecked")
public <T extends Enum<T>> T getEnumOrDefault(final String key, final T
defaultValue) throws ClassNotFoundException {
/*
- * Supressing the unchecked warning because the returnType is
+ * Suppressing the unchecked warning because the returnType is
* dynamically identified and could lead to a ClassCastException when
* returnType is cast to Class<T>, which is expected by the method's
* contract.