camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] branch master updated: Add deprecation on method not really in use
Date Wed, 26 Sep 2018 11:12:12 GMT
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 <claus.ibsen@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) {


Mime
View raw message