This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.x by this push:
     new 30a98e7  CAMEL-13432: Simple language - Deprecate and remove change 
its start/end token
30a98e7 is described below

commit 30a98e7d630abdfdb407b4aa4341fda52603fd4b
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Apr 18 11:55:04 2019 +0200

    CAMEL-13432: Simple language - Deprecate and remove change its start/end 
token
---
 .../java/org/apache/camel/language/simple/SimpleLanguage.java     | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java 
b/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java
index 66268fa..98f6c7f 100644
--- 
a/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java
+++ 
b/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java
@@ -271,7 +271,9 @@ public class SimpleLanguage extends LanguageSupport 
implements StaticService {
      * The default start tokens is <tt>${</tt> and <tt>$simple{</tt>.
      *
      * @param startToken new start token(s) to be used for functions
+     * @deprecated will be removed in Camel 3
      */
+    @Deprecated
     public static void changeFunctionStartToken(String... startToken) {
         SimpleTokenizer.changeFunctionStartToken(startToken);
     }
@@ -285,7 +287,9 @@ public class SimpleLanguage extends LanguageSupport 
implements StaticService {
      * The default end token is <tt>}</tt>
      *
      * @param endToken new end token(s) to be used for functions
+     * @deprecated will be removed in Camel 3
      */
+    @Deprecated
     public static void changeFunctionEndToken(String... endToken) {
         SimpleTokenizer.changeFunctionEndToken(endToken);
     }
@@ -299,7 +303,9 @@ public class SimpleLanguage extends LanguageSupport 
implements StaticService {
      * The default start tokens is <tt>${</tt> and <tt>$simple{</tt>.
      *
      * @param startToken new start token to be used for functions
+     * @deprecated will be removed in Camel 3
      */
+    @Deprecated
     public void setFunctionStartToken(String startToken) {
         changeFunctionStartToken(startToken);
     }
@@ -313,7 +319,9 @@ public class SimpleLanguage extends LanguageSupport 
implements StaticService {
      * The default end token is <tt>}</tt>
      *
      * @param endToken new end token to be used for functions
+     * @deprecated will be removed in Camel 3
      */
+    @Deprecated
     public void setFunctionEndToken(String endToken) {
         changeFunctionEndToken(endToken);
     }

Reply via email to