You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2018/09/26 11:12:12 UTC
[camel] branch master updated: Add deprecation on method not really
in use
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 0caeb1a Add deprecation on method not really in use
0caeb1a is described below
commit 0caeb1aafdd8b0261c9c40570533783512f227fd
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Sep 26 13:11:50 2018 +0200
Add deprecation on method not really in use
---
.../src/main/java/org/apache/camel/builder/ExpressionBuilder.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java b/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
index 459fbcc..80ad2e6 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/ExpressionBuilder.java
@@ -2049,7 +2049,9 @@ public final class ExpressionBuilder {
*
* @param uri endpoint uri to send the exchange to
* @return an expression object which will return the OUT body
+ * @deprecated not in use, and not available in XML DSL
*/
+ @Deprecated
public static Expression toExpression(final String uri) {
return new ExpressionAdapter() {
public Object evaluate(Exchange exchange) {