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 9ea5390a481d077930086b1dd5f74937df791cdf Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Fri Mar 24 14:03:40 2023 +0100 (chores) camel-cxf: use builtin Java methods for data conversion --- .../apache/camel/component/cxf/jaxws/CxfConsumerPayloadXPathTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadXPathTest.java b/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadXPathTest.java index 48e475ab789..5f98ff022a9 100644 --- a/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadXPathTest.java +++ b/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadXPathTest.java @@ -226,7 +226,7 @@ public class CxfConsumerPayloadXPathTest extends CamelTestSupport { //check for data loss in received input (after xpath) String headerSize = exchgOut.getMessage().getHeader(HEADER_SIZE, String.class); - assertEquals("" + repeat, headerSize); + assertEquals(Integer.toString(repeat), headerSize); assertTrue(result.length() > repeat, "dataloss in output occurred");
