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 2020/02/13 06:20:58 UTC
[camel] 02/02: Fixed CS
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
commit b58e50871b3492c54e36a9aa8678868e40eefa5c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Feb 13 07:20:40 2020 +0100
Fixed CS
---
.../apache/camel/jsonpath/JsonPathExpression.java | 26 +++++++++++-----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathExpression.java b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathExpression.java
index 49e6fa6..9e51e48 100644
--- a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathExpression.java
+++ b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathExpression.java
@@ -61,19 +61,19 @@ public class JsonPathExpression extends ExpressionAdapter implements AfterProper
throw new IllegalStateException("Can only configure our own instance !");
}
switch (ignoreCase ? name.toLowerCase() : name) {
- case "resulttype":
- case "resultType": setResultType(PropertyConfigurerSupport.property(camelContext, Class.class, value)); return true;
- case "suppressexceptions":
- case "suppressExceptions": setSuppressExceptions(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
- case "allowsimple":
- case "allowSimple": setAllowSimple(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
- case "alloweasypredicate":
- case "allowEasyPredicate": setAllowEasyPredicate(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
- case "writeasstring":
- case "writeAsString": setWriteAsString(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
- case "headername":
- case "headerName": setHeaderName(PropertyConfigurerSupport.property(camelContext, String.class, value)); return true;
- default: return false;
+ case "resulttype":
+ case "resultType": setResultType(PropertyConfigurerSupport.property(camelContext, Class.class, value)); return true;
+ case "suppressexceptions":
+ case "suppressExceptions": setSuppressExceptions(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
+ case "allowsimple":
+ case "allowSimple": setAllowSimple(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
+ case "alloweasypredicate":
+ case "allowEasyPredicate": setAllowEasyPredicate(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
+ case "writeasstring":
+ case "writeAsString": setWriteAsString(PropertyConfigurerSupport.property(camelContext, Boolean.class, value)); return true;
+ case "headername":
+ case "headerName": setHeaderName(PropertyConfigurerSupport.property(camelContext, String.class, value)); return true;
+ default: return false;
}
}