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 2522cabf6093f71257d4fc48c2e896528ad3491f Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 20:34:36 2026 +0000 (chores): ensure usage of text blocks camel-lzf --- .../org/apache/camel/dataformat/lzf/LZFDataFormatTest.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/components/camel-lzf/src/test/java/org/apache/camel/dataformat/lzf/LZFDataFormatTest.java b/components/camel-lzf/src/test/java/org/apache/camel/dataformat/lzf/LZFDataFormatTest.java index 41631af898e7..f0a6fe0e3c75 100644 --- a/components/camel-lzf/src/test/java/org/apache/camel/dataformat/lzf/LZFDataFormatTest.java +++ b/components/camel-lzf/src/test/java/org/apache/camel/dataformat/lzf/LZFDataFormatTest.java @@ -30,12 +30,13 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class LZFDataFormatTest extends CamelTestSupport { - private static final String TEXT = "Hamlet by William Shakespeare\n" - + "To be, or not to be: that is the question:\n" - + "Whether 'tis nobler in the mind to suffer\n" - + "The slings and arrows of outrageous fortune,\n" - + "Or to take arms against a sea of troubles,\n" - + "And by opposing end them? To die: to sleep;"; + private static final String TEXT = """ + Hamlet by William Shakespeare + To be, or not to be: that is the question: + Whether 'tis nobler in the mind to suffer + The slings and arrows of outrageous fortune, + Or to take arms against a sea of troubles, + And by opposing end them? To die: to sleep;"""; @Test public void testMarshalTextToLzf() throws Exception {
