You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/12/26 10:29:42 UTC

[camel] branch main updated (b05f0ff3dd6 -> b2887077019)

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

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


    from b05f0ff3dd6 Revert "Spring doc minor fix."
     new 2f91f34b187 Polished
     new d9276e9aed5 Upgrade to groovy 3.0.14
     new b2887077019 Polished

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/camel/model/ProcessorDefinition.java      | 3 ++-
 core/camel-core/src/test/java/org/apache/camel/model/XmlParseTest.java | 3 +--
 pom.xml                                                                | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)


[camel] 01/03: Polished

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2f91f34b1870115191a6ebe97ad00e1d5af4c615
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Dec 26 11:24:02 2022 +0100

    Polished
---
 .../src/main/java/org/apache/camel/model/ProcessorDefinition.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 b7592696ca5..b22e64d6f54 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
@@ -21,6 +21,7 @@ import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.Comparator;
+import java.util.Deque;
 import java.util.LinkedList;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
@@ -87,7 +88,7 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type>
     @XmlAttribute
     protected Boolean inheritErrorHandler;
     @XmlTransient
-    private final LinkedList<Block> blocks = new LinkedList<>();
+    private final Deque<Block> blocks = new LinkedList<>();
     @XmlTransient
     private ProcessorDefinition<?> parent;
     @XmlTransient


[camel] 02/03: Upgrade to groovy 3.0.14

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d9276e9aed5a5655d8962c9a5c60a3ad895dd8f6
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Dec 26 11:24:31 2022 +0100

    Upgrade to groovy 3.0.14
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index df5e03dc674..22d5f575eb3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,7 +141,7 @@
         <errorprone-version>2.5</errorprone-version>
         <mycila-license-version>3.0</mycila-license-version>
         <gmavenplus-plugin-version>1.11.1</gmavenplus-plugin-version>
-        <groovy-version>3.0.12</groovy-version>
+        <groovy-version>3.0.14</groovy-version>
 
         <camel.javadoc.offline>false</camel.javadoc.offline>
     </properties>


[camel] 03/03: Polished

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b2887077019a6f1bf2ede4b96dd0080f705e62b6
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Dec 26 11:29:22 2022 +0100

    Polished
---
 core/camel-core/src/test/java/org/apache/camel/model/XmlParseTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/model/XmlParseTest.java b/core/camel-core/src/test/java/org/apache/camel/model/XmlParseTest.java
index a94b2ec861a..51d3b2b46b4 100644
--- a/core/camel-core/src/test/java/org/apache/camel/model/XmlParseTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/model/XmlParseTest.java
@@ -371,8 +371,7 @@ public class XmlParseTest extends XmlTestSupport {
 
     protected RouteDefinition assertOneRoute(String uri) throws JAXBException {
         RouteContainer context = assertParseAsJaxb(uri);
-        RouteDefinition route = assertOneElement(context.getRoutes());
-        return route;
+        return assertOneElement(context.getRoutes());
     }
 
     protected void assertFrom(RouteDefinition route, String uri) {