You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cm...@apache.org on 2014/06/01 18:23:41 UTC
git commit: changed class.toString() to class.getName() to get the
real class name Thanks to Sebastian Bathke for the hint
Repository: camel
Updated Branches:
refs/heads/master f363fd2d0 -> 46ec9ef55
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/46ec9ef5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/46ec9ef5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/46ec9ef5
Branch: refs/heads/master
Commit: 46ec9ef55c38f5b9a251702e59fee3103e137888
Parents: f363fd2
Author: cmueller <cm...@apache.org>
Authored: Sun Jun 1 18:23:44 2014 +0200
Committer: cmueller <cm...@apache.org>
Committed: Sun Jun 1 18:23:44 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/46ec9ef5/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/46ec9ef5/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());
}