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 f4994998046 Fix spelling (#16665)
f4994998046 is described below

commit f499499804659d88fe7400f384954bca9f063247
Author: John Bampton <jbamp...@users.noreply.github.com>
AuthorDate: Mon Dec 30 06:52:55 2024 +1000

    Fix spelling (#16665)
---
 .../as2/api/entity/AS2MessageDispositionNotificationEntity.java         | 2 +-
 .../test/java/org/apache/camel/component/cxf/CxfOneWayRouteTest.java    | 2 +-
 .../java/org/apache/camel/component/netty/NettyProducerHangTest.java    | 2 +-
 .../src/test/java/org/apache/camel/oaipmh/utils/MockOaipmhServer.java   | 2 +-
 .../camel-util-json/src/main/java/org/apache/camel/util/json/Yylex.java | 2 +-
 5 files changed, 5 insertions(+), 5 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 0c95ceeff5a..fd1f2c283f4 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
@@ -91,7 +91,7 @@ public class AS2MessageDispositionNotificationEntity extends 
MimeEntity {
 
         this.originalMessageId = HttpMessageUtils.getHeaderValue(request, 
AS2Header.MESSAGE_ID);
 
-        // don't include a mic if a error occured processing the message,
+        // don't include a mic if a error occurred processing the message,
         // for instance with decryption or signature validation.
         if (dispositionModifier == null || !dispositionModifier.isError()) {
             this.receivedContentMic
diff --git 
a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfOneWayRouteTest.java
 
b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfOneWayRouteTest.java
index 6602f8fe473..29b611ca03e 100644
--- 
a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfOneWayRouteTest.java
+++ 
b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/CxfOneWayRouteTest.java
@@ -91,7 +91,7 @@ public class CxfOneWayRouteTest extends 
CamelSpringTestSupport {
 
         MockEndpoint.assertIsSatisfied(context);
         assertTrue(onCompeletedCalled, "UnitOfWork done should be called");
-        assertNull(bindingException, "exception occured: " + bindingException);
+        assertNull(bindingException, "exception occurred: " + 
bindingException);
     }
 
     public static class TestProcessor implements Processor {
diff --git 
a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyProducerHangTest.java
 
b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyProducerHangTest.java
index 94dcb704baf..8a55d565ba0 100644
--- 
a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyProducerHangTest.java
+++ 
b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyProducerHangTest.java
@@ -44,7 +44,7 @@ public class NettyProducerHangTest extends CamelTestSupport {
                     acceptReplyAcceptClose();
                     acceptReplyAcceptClose();
                 } catch (IOException e) {
-                    LOG.error("Exception occured: {}", e.getMessage(), e);
+                    LOG.error("Exception occurred: {}", e.getMessage(), e);
                 }
             }
         }).start();
diff --git 
a/components/camel-oaipmh/src/test/java/org/apache/camel/oaipmh/utils/MockOaipmhServer.java
 
b/components/camel-oaipmh/src/test/java/org/apache/camel/oaipmh/utils/MockOaipmhServer.java
index c8cf812f7dd..cee9b14cd36 100644
--- 
a/components/camel-oaipmh/src/test/java/org/apache/camel/oaipmh/utils/MockOaipmhServer.java
+++ 
b/components/camel-oaipmh/src/test/java/org/apache/camel/oaipmh/utils/MockOaipmhServer.java
@@ -82,7 +82,7 @@ public final class MockOaipmhServer {
                 responseCache = Collections.unmodifiableMap(cache);
             }
         } catch (IOException ioex) {
-            throw new RuntimeCamelException("An issue occured while 
initializing the OAI-PMH mock server reponse cache", ioex);
+            throw new RuntimeCamelException("An issue occurred while 
initializing the OAI-PMH mock server reponse cache", ioex);
         }
         return responseCache;
     }
diff --git 
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Yylex.java 
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Yylex.java
index a56b6ba5103..b5fcb55da5c 100644
--- 
a/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Yylex.java
+++ 
b/tooling/camel-util-json/src/main/java/org/apache/camel/util/json/Yylex.java
@@ -409,7 +409,7 @@ class Yylex {
     }
 
     /**
-     * Reports an error that occured while scanning. In a wellformed scanner 
(no or only correct usage of
+     * Reports an error that occurred while scanning. In a wellformed scanner 
(no or only correct usage of
      * yypushback(int) and a match-all fallback rule) this method will only be 
called with things that "Can't Possibly
      * Happen". If this method is called, something is seriously wrong (e.g. a 
JFlex bug producing a faulty scanner
      * etc.). Usual syntax/scanner level error handling should be done in 
error fallback rules.

Reply via email to