This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch camel-3.21.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit a39d8dedb57401cde627a438b4ea64992dc59720 Author: Gregor Zurowski <gre...@zurowski.org> AuthorDate: Thu Jun 13 09:36:37 2024 +0200 [Minor] Apply formatter --- .../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)