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

[camel] branch camel-3.20.x updated (9d28035354a -> 7024d18c067)

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

orpiske pushed a change to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git


    from 9d28035354a Update camel releases in catalog
     new e51ee95b5a6 (chores) camel-flatpack: fixed checkstyle issue
     new 7024d18c067 (chores) camel-bindy: fixed checkstyle issue

The 2 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:
 .../bindy/csv/BindySimpleCsvUnmarshallTrimLineTest.java          | 9 ++-------
 .../java/org/apache/camel/component/flatpack/DataSetList.java    | 2 +-
 2 files changed, 3 insertions(+), 8 deletions(-)


[camel] 02/02: (chores) camel-bindy: fixed checkstyle issue

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

orpiske pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7024d18c06731da67569376e499662b55890adc5
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Aug 1 08:27:37 2023 +0200

    (chores) camel-bindy: fixed checkstyle issue
---
 .../bindy/csv/BindySimpleCsvUnmarshallTrimLineTest.java          | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindySimpleCsvUnmarshallTrimLineTest.java b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindySimpleCsvUnmarshallTrimLineTest.java
index c04ed6bfa98..8ef1f865e79 100644
--- a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindySimpleCsvUnmarshallTrimLineTest.java
+++ b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindySimpleCsvUnmarshallTrimLineTest.java
@@ -16,24 +16,19 @@
  */
 package org.apache.camel.dataformat.bindy.csv;
 
+import java.util.List;
+
 import org.apache.camel.EndpointInject;
-import org.apache.camel.Exchange;
 import org.apache.camel.Produce;
 import org.apache.camel.ProducerTemplate;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.dataformat.bindy.format.FormatException;
-import org.apache.camel.dataformat.bindy.model.simple.oneclass.Order;
 import org.apache.camel.test.spring.junit5.CamelSpringTest;
 import org.junit.jupiter.api.Test;
 import org.springframework.test.annotation.DirtiesContext;
 import org.springframework.test.context.ContextConfiguration;
 
-import java.util.List;
-
-import static org.apache.camel.test.junit5.TestSupport.assertIsInstanceOf;
 import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
 @ContextConfiguration


[camel] 01/02: (chores) camel-flatpack: fixed checkstyle issue

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

orpiske pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e51ee95b5a63d90514c774a3670ad055b9db1c78
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Aug 1 08:24:30 2023 +0200

    (chores) camel-flatpack: fixed checkstyle issue
---
 .../src/main/java/org/apache/camel/component/flatpack/DataSetList.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
index 6834036317b..e77a797e13f 100644
--- a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
+++ b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
@@ -65,7 +65,7 @@ public class DataSetList extends AbstractList<Map<String, Object>> implements Da
         dataSet.goTop();
 
         return new Iterator<Map<String, Object>>() {
-            private int pos = 0;
+            private int pos;
 
             public boolean hasNext() {
                 return pos < size();