This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch try
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git

commit bae74c3f8be94f52480d9b278c18e25fd427cbd5
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Sat Nov 16 08:01:30 2024 -0500

    fix
---
 .../org/apache/maven/plugins/dependency/utils/TestDependencyUtil.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/maven/plugins/dependency/utils/TestDependencyUtil.java
 
b/src/test/java/org/apache/maven/plugins/dependency/utils/TestDependencyUtil.java
index 3e2d9ccd..ceaa05a7 100644
--- 
a/src/test/java/org/apache/maven/plugins/dependency/utils/TestDependencyUtil.java
+++ 
b/src/test/java/org/apache/maven/plugins/dependency/utils/TestDependencyUtil.java
@@ -325,7 +325,7 @@ class TestDependencyUtil {
         String[] tokens = DependencyUtil.tokenizer(" alpha,bravo, charlie , 
delta kappa, theta");
         String[] expected = new String[] {"alpha", "bravo", "charlie", "delta 
kappa", "theta"};
         // easier to see in the JUnit reports
-        assertEquals(StringUtils.join(expected, ", "), 
StringUtils.join(tokens, ", "));
+        assertEquals(String.join(", ", expected), String.join(", ", tokens));
         assertEquals(expected.length, tokens.length);
 
         tokens = DependencyUtil.tokenizer(" \r\n a, \t \n \r b \t \n \r");

Reply via email to