You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/03/24 14:27:48 UTC
[camel] 15/17: (chores) camel-paho: use builtin Java methods for data conversion
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 986baae82c22bf7a2f21f373689b04e2fdff8e71
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Mar 24 14:08:55 2023 +0100
(chores) camel-paho: use builtin Java methods for data conversion
---
.../test/java/org/apache/camel/component/paho/PahoComponentTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-paho/src/test/java/org/apache/camel/component/paho/PahoComponentTest.java b/components/camel-paho/src/test/java/org/apache/camel/component/paho/PahoComponentTest.java
index f705df2a1ea..d3e96c7ca5b 100644
--- a/components/camel-paho/src/test/java/org/apache/camel/component/paho/PahoComponentTest.java
+++ b/components/camel-paho/src/test/java/org/apache/camel/component/paho/PahoComponentTest.java
@@ -77,7 +77,7 @@ public class PahoComponentTest extends PahoTestSupport {
// Then
assertEquals("/test/topic", endpoint.getTopic());
assertEquals("sampleClient", endpoint.getConfiguration().getClientId());
- assertEquals("" + service.serviceAddress(), endpoint.getConfiguration().getBrokerUrl());
+ assertEquals(service.serviceAddress(), endpoint.getConfiguration().getBrokerUrl());
assertEquals(2, endpoint.getConfiguration().getQos());
assertEquals(PahoPersistence.FILE, endpoint.getConfiguration().getPersistence());
}