camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject git commit: changed class.toString() to class.getName() to get the real class name Thanks to Sebastian Bathke for the hint
Date Sun, 01 Jun 2014 20:03:14 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.13.x 9afb04ab8 -> e8efd6dcf


changed class.toString() to class.getName() to get the real class name
Thanks to Sebastian Bathke for the hint


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

Branch: refs/heads/camel-2.13.x
Commit: e8efd6dcfbf7ffa934dec4ee7688e7d106ecc8fc
Parents: 9afb04a
Author: cmueller <cmueller@apache.org>
Authored: Sun Jun 1 18:23:44 2014 +0200
Committer: cmueller <cmueller@apache.org>
Committed: Sun Jun 1 22:03:15 2014 +0200

----------------------------------------------------------------------
 .../test/java/org/apache/camel/non_wrapper/PersonProcessor.java    | 2 +-
 .../src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e8efd6dc/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java
b/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java
index 51147a3..38833cd 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java
@@ -32,7 +32,7 @@ public class PersonProcessor implements Processor {
     public void process(Exchange exchange) throws Exception {
         LOG.info("processing exchange in camel");
 
-        BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.toString());
+        BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.getName());
         if (boi != null) {
             LOG.info("boi.isUnwrapped" + boi.isUnwrapped());
         }

http://git-wip-us.apache.org/repos/asf/camel/blob/e8efd6dc/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java
b/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java
index 5847d24..cafe341 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java
@@ -34,7 +34,7 @@ public class PersonProcessor implements Processor {
     public void process(Exchange exchange) throws Exception {
         LOG.info("processing exchange in camel");
 
-        BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.toString());
+        BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.getName());
         if (boi != null) {
             LOG.info("boi.isUnwrapped" + boi.isUnwrapped());
         }


Mime
View raw message