You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/02/12 08:02:55 UTC

[camel] branch master updated: Camel-xml-jaxp: Fixed CS

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

acosentino 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 55ab350  Camel-xml-jaxp: Fixed CS
55ab350 is described below

commit 55ab350ed8959d247480447c960659e3c79f6d79
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 09:02:30 2020 +0100

    Camel-xml-jaxp: Fixed CS
---
 .../language/xtokenizer/XMLTokenExpressionIterator.java    | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/core/camel-xml-jaxp/src/main/java/org/apache/camel/language/xtokenizer/XMLTokenExpressionIterator.java b/core/camel-xml-jaxp/src/main/java/org/apache/camel/language/xtokenizer/XMLTokenExpressionIterator.java
index 36c830b..0f58cfe 100644
--- a/core/camel-xml-jaxp/src/main/java/org/apache/camel/language/xtokenizer/XMLTokenExpressionIterator.java
+++ b/core/camel-xml-jaxp/src/main/java/org/apache/camel/language/xtokenizer/XMLTokenExpressionIterator.java
@@ -82,11 +82,15 @@ public class XMLTokenExpressionIterator extends ExpressionAdapter implements Nam
             throw new IllegalStateException("Can only configure our own instance !");
         }
         switch (ignoreCase ? name.toLowerCase() : name) {
-            case "headername":
-            case "headerName": setHeaderName(PropertyConfigurerSupport.property(camelContext, String.class, value)); return true;
-            case "mode": setMode(PropertyConfigurerSupport.property(camelContext, String.class, value)); return true;
-            case "group": setGroup(PropertyConfigurerSupport.property(camelContext, Integer.class, value)); return true;
-            default: return false;
+        case "headername":
+        case "headerName": 
+            setHeaderName(PropertyConfigurerSupport.property(camelContext, String.class, value)); return true;
+        case "mode": 
+            setMode(PropertyConfigurerSupport.property(camelContext, String.class, value)); return true;
+        case "group": 
+            setGroup(PropertyConfigurerSupport.property(camelContext, Integer.class, value)); return true;
+        default: 
+            return false;
         }
     }