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 8842e21814efe96710f2d5008ba88b2d3e998e5d Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Fri Mar 24 13:51:02 2023 +0100 (chores) camel-util: use builtin Java methods for data conversion --- .../src/test/java/org/apache/camel/util/StringHelperTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/camel-util/src/test/java/org/apache/camel/util/StringHelperTest.java b/core/camel-util/src/test/java/org/apache/camel/util/StringHelperTest.java index 8f90d4688a9..70d6569ecc2 100644 --- a/core/camel-util/src/test/java/org/apache/camel/util/StringHelperTest.java +++ b/core/camel-util/src/test/java/org/apache/camel/util/StringHelperTest.java @@ -210,7 +210,7 @@ public class StringHelperTest { int count = StringHelper.countChar(value, ',') + 1; it = splitOnCharacterAsIterator(value, ',', count); for (int i = 0; i < 100; i++) { - assertEquals("" + i, it.next()); + assertEquals(Integer.toString(i), it.next()); } assertFalse(it.hasNext()); }
