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 b651ff4ce9b707906f1ff2a9fb6d81c70b9c9d58 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jan 26 14:34:59 2026 +0000 (chores): ensure usage of platform-specific newline characters --- .../apache/camel/language/groovy/GroovyDevConsole.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/camel-groovy/src/main/java/org/apache/camel/language/groovy/GroovyDevConsole.java b/components/camel-groovy/src/main/java/org/apache/camel/language/groovy/GroovyDevConsole.java index 9c6a0bf0723a..c0343d3bee46 100644 --- a/components/camel-groovy/src/main/java/org/apache/camel/language/groovy/GroovyDevConsole.java +++ b/components/camel-groovy/src/main/java/org/apache/camel/language/groovy/GroovyDevConsole.java @@ -38,21 +38,21 @@ public class GroovyDevConsole extends AbstractDevConsole { DefaultGroovyScriptCompiler compiler = getCamelContext().hasService(DefaultGroovyScriptCompiler.class); if (compiler != null) { sb.append(String.format(" Script Pattern: %s", compiler.getScriptPattern())); - sb.append(String.format("\n Pre-loaded Counter: %s", compiler.getPreloadedCounter())); - sb.append(String.format("\n Compile Counter: %s", compiler.getCompileCounter())); - sb.append(String.format("\n Compile Time: %s (ms)", compiler.getCompileTime())); + sb.append(String.format("%n Pre-loaded Counter: %s", compiler.getPreloadedCounter())); + sb.append(String.format("%n Compile Counter: %s", compiler.getCompileCounter())); + sb.append(String.format("%n Compile Time: %s (ms)", compiler.getCompileTime())); long last = compiler.getLastCompilationTimestamp(); if (last != 0) { - sb.append(String.format("\n Compile Ago: %s", + sb.append(String.format("%n Compile Ago: %s", TimeUtils.printSince(compiler.getLastCompilationTimestamp()))); } - sb.append(String.format("\n Re-compile Enabled: %b", compiler.isRecompileEnabled())); + sb.append(String.format("%n Re-compile Enabled: %b", compiler.isRecompileEnabled())); if (compiler.getWorkDir() != null) { - sb.append(String.format("\n Work Directory: %s", compiler.getWorkDir())); + sb.append(String.format("%n Work Directory: %s", compiler.getWorkDir())); } - sb.append(String.format("\n Classes: (%d)", compiler.getClassesSize())); + sb.append(String.format("%n Classes: (%d)", compiler.getClassesSize())); for (String name : compiler.compiledClassNames()) { - sb.append(String.format("\n %s", name)); + sb.append(String.format("%n %s", name)); } }
