This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 5efd732b50c camel-jbang - We have a WARN log about deprecated modeline
if actually detected in use.
5efd732b50c is described below
commit 5efd732b50caf1a9ade80ab984206b1023cac559
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 5 21:02:14 2025 +0100
camel-jbang - We have a WARN log about deprecated modeline if actually
detected in use.
---
.../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
index a75c2b36f9a..93f9677d0be 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
@@ -573,7 +573,6 @@ public class Run extends CamelCommand {
writeSetting(main, profileProperties, "camel.main.tracing",
"true");
}
if (modeline) {
- printer().println("WARN: modeline parameter is deprecated, to be
removed in the next version.");
writeSetting(main, profileProperties, "camel.main.modeline",
"true");
}
if (ignoreLoadingError) {