This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit c7ae20cfe2f203ee34bce0ca5619060b9bfcab2d Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Fri Mar 24 14:05:14 2023 +0100 (chores) camel-jaxb: use builtin Java methods for data conversion --- .../java/org/apache/camel/example/JaxbConcurrentDataFormatTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-jaxb/src/test/java/org/apache/camel/example/JaxbConcurrentDataFormatTest.java b/components/camel-jaxb/src/test/java/org/apache/camel/example/JaxbConcurrentDataFormatTest.java index 375c68c209a..7f65a70f266 100644 --- a/components/camel-jaxb/src/test/java/org/apache/camel/example/JaxbConcurrentDataFormatTest.java +++ b/components/camel-jaxb/src/test/java/org/apache/camel/example/JaxbConcurrentDataFormatTest.java @@ -52,8 +52,8 @@ public class JaxbConcurrentDataFormatTest extends CamelTestSupport { public Object call() { PurchaseOrder bean = new PurchaseOrder(); bean.setName("Beer"); - bean.setAmount(Double.valueOf("" + index)); - bean.setPrice(Double.valueOf("" + index) * 2); + bean.setAmount(Double.valueOf(index)); + bean.setPrice(Double.valueOf(index) * 2); template.sendBody("direct:start", bean); return null;
