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:33 UTC
(camel) 47/50: (chores): ensure usage of text blocks camel-netty
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 54cdaed89e8954da2f19662f840ae78791dc3e0c
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jan 26 20:34:37 2026 +0000
(chores): ensure usage of text blocks camel-netty
---
.../org/apache/camel/component/netty/Poetry.java | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/components/camel-netty/src/test/java/org/apache/camel/component/netty/Poetry.java b/components/camel-netty/src/test/java/org/apache/camel/component/netty/Poetry.java
index b8ffb9e696e2..609c1f7a7b31 100644
--- a/components/camel-netty/src/test/java/org/apache/camel/component/netty/Poetry.java
+++ b/components/camel-netty/src/test/java/org/apache/camel/component/netty/Poetry.java
@@ -21,21 +21,21 @@ import java.io.Serializable;
public class Poetry implements Serializable {
private static final long serialVersionUID = 1L;
private String poet = "?";
- private String poem = "ONCE in the dream of a night I stood\n"
- + "Lone in the light of a magical wood,\n"
- + "Soul-deep in visions that poppy-like sprang;\n"
- + "And spirits of Truth were the birds that sang,\n"
- + "And spirits of Love were the stars that glowed,\n"
- + "And spirits of Peace were the streams that flowed\n"
- + "In that magical wood in the land of sleep."
- + "\n"
- + "Lone in the light of that magical grove,\n"
- + "I felt the stars of the spirits of Love\n"
- + "Gather and gleam round my delicate youth,\n"
- + "And I heard the song of the spirits of Truth;\n"
- + "To quench my longing I bent me low\n"
- + "By the streams of the spirits of Peace that flow\n"
- + "In that magical wood in the land of sleep.";
+ private String poem = """
+ ONCE in the dream of a night I stood
+ Lone in the light of a magical wood,
+ Soul-deep in visions that poppy-like sprang;
+ And spirits of Truth were the birds that sang,
+ And spirits of Love were the stars that glowed,
+ And spirits of Peace were the streams that flowed
+ In that magical wood in the land of sleep.
+ Lone in the light of that magical grove,
+ I felt the stars of the spirits of Love
+ Gather and gleam round my delicate youth,
+ And I heard the song of the spirits of Truth;
+ To quench my longing I bent me low
+ By the streams of the spirits of Peace that flow
+ In that magical wood in the land of sleep.""";
public String getPoet() {
return poet;