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 2024/03/04 08:29:45 UTC
(camel) branch main updated: Regen (#13373)
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 b91b741f4f1 Regen (#13373)
b91b741f4f1 is described below
commit b91b741f4f1f3871a8749139c93613ac6f669060
Author: Luca Burgazzoli <lb...@users.noreply.github.com>
AuthorDate: Mon Mar 4 09:29:38 2024 +0100
Regen (#13373)
---
.../apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java b/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java
index 822560d23ee..bc611180fc0 100644
--- a/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java
+++ b/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java
@@ -16,15 +16,15 @@
*/
package org.apache.camel.jsonpath;
+import java.io.File;
+import java.util.Map;
+
import com.jayway.jsonpath.Option;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.Test;
-import java.io.File;
-import java.util.Map;
-
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -37,7 +37,8 @@ public class JsonPathSplitSingleListOptionTest extends CamelTestSupport {
@Override
public void configure() {
// use option to force returning a list even for a single element selected
- var jsonpath = expression().jsonpath().option(Option.ALWAYS_RETURN_LIST.name()).expression("$.store.book[0]").end();
+ var jsonpath
+ = expression().jsonpath().option(Option.ALWAYS_RETURN_LIST.name()).expression("$.store.book[0]").end();
from("direct:start")
.split(jsonpath)