camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/4] camel git commit: Removed unused code
Date Fri, 04 Mar 2016 09:42:31 GMT
Repository: camel
Updated Branches:
  refs/heads/master da0359526 -> 3169b03de


Removed unused code


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3169b03d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3169b03d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3169b03d

Branch: refs/heads/master
Commit: 3169b03def906d3f224e4ce40c62ed90706ab9e2
Parents: 99ab3ae
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Mar 4 10:06:07 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Mar 4 10:15:23 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/language/bean/BeanExpression.java   | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3169b03d/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java b/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
index f5834ee..5c6bba2 100644
--- a/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/language/bean/BeanExpression.java
@@ -279,7 +279,6 @@ public class BeanExpression implements Expression, Predicate {
             // and we would like to keep the dots within the key name
             List<String> methods = OgnlHelper.splitOgnl(ognl);
 
-            String methodChain = "";
             for (String methodName : methods) {
                 BeanHolder holder;
                 if (beanToCall != null) {
@@ -323,7 +322,6 @@ public class BeanExpression implements Expression, Predicate {
                     }
 
                     result = invoke.getResult();
-                    methodChain += "." + methodName;
                 }
 
                 // if there was a key then we need to lookup using the key


Mime
View raw message