This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch trim
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/trim by this push:
new e29c5f956b05 CAMEL-22834: camel-core - Add trim function to simple
language
e29c5f956b05 is described below
commit e29c5f956b0534d05258743730c0099fd0502ed9
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Jan 11 19:48:51 2026 +0100
CAMEL-22834: camel-core - Add trim function to simple language
---
.../apache/camel/language/simple/ast/SimpleFunctionExpression.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java
b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java
index 9c8b6cd1a3c0..88729f6ed125 100644
---
a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java
+++
b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java
@@ -1181,7 +1181,7 @@ public class SimpleFunctionExpression extends
LiteralExpression {
}
// miscellaneous functions
- String misc = createCodeExpressionMisc(camelContext, function);
+ String misc = createCodeExpressionMisc(function);
if (misc != null) {
return misc;
}
@@ -1811,7 +1811,7 @@ public class SimpleFunctionExpression extends
LiteralExpression {
return factory.get().createCode(camelContext, function,
token.getIndex());
}
- private String createCodeExpressionMisc(CamelContext camelContext, String
function) {
+ private String createCodeExpressionMisc(String function) {
String remainder;
// substring function