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 2026/01/27 09:55:34 UTC

(camel) 48/50: (chores): ensure usage of text blocks camel-olingo4

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

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

commit ab268711854cecca43c2368b7e58f4bfa8c8b17b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jan 26 20:34:43 2026 +0000

    (chores): ensure usage of text blocks camel-olingo4
---
 .../olingo4/Olingo4ComponentProducerTest.java          | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/components/camel-olingo4/camel-olingo4-component/src/test/java/org/apache/camel/component/olingo4/Olingo4ComponentProducerTest.java b/components/camel-olingo4/camel-olingo4-component/src/test/java/org/apache/camel/component/olingo4/Olingo4ComponentProducerTest.java
index c1b56333d6df..921584a29a12 100644
--- a/components/camel-olingo4/camel-olingo4-component/src/test/java/org/apache/camel/component/olingo4/Olingo4ComponentProducerTest.java
+++ b/components/camel-olingo4/camel-olingo4-component/src/test/java/org/apache/camel/component/olingo4/Olingo4ComponentProducerTest.java
@@ -56,11 +56,19 @@ public class Olingo4ComponentProducerTest extends AbstractOlingo4WireMockTestSup
 
     private static final Logger LOG = LoggerFactory.getLogger(Olingo4ComponentProducerTest.class);
 
-    private static final String TEST_CREATE_JSON = "{\n" + "  \"UserName\": \"lewisblack\",\n" + "  \"FirstName\": \"Lewis\",\n"
-                                                   + "  \"LastName\": \"Black\"\n" + "}";
-    private static final String TEST_UPDATE_JSON
-            = "{\n" + "  \"UserName\": \"lewisblack\",\n" + "  \"FirstName\": \"Lewis\",\n" + "  \"MiddleName\": \"Black\",\n"
-              + "  \"LastName\": \"Black\"\n" + "}";
+    private static final String TEST_CREATE_JSON = """
+            {
+              "UserName": "lewisblack",
+              "FirstName": "Lewis",
+              "LastName": "Black"
+            }""";
+    private static final String TEST_UPDATE_JSON = """
+            {
+              "UserName": "lewisblack",
+              "FirstName": "Lewis",
+              "MiddleName": "Black",
+              "LastName": "Black"
+            }""";
 
     @Override
     protected CamelContext createCamelContext() throws Exception {