This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 07466437 Replace Guava with JRE call. 07466437 is described below commit 07466437c4b691afdafb1fc4a9a28300ad45c94e Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Apr 22 09:26:28 2023 -0400 Replace Guava with JRE call. --- src/test/java/org/apache/commons/io/input/TailerTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/io/input/TailerTest.java b/src/test/java/org/apache/commons/io/input/TailerTest.java index 7f1b88f3..d35e9f92 100644 --- a/src/test/java/org/apache/commons/io/input/TailerTest.java +++ b/src/test/java/org/apache/commons/io/input/TailerTest.java @@ -38,6 +38,7 @@ import java.nio.file.Files; import java.nio.file.StandardOpenOption; import java.nio.file.attribute.FileTime; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.concurrent.CountDownLatch; @@ -53,8 +54,6 @@ import org.apache.commons.io.test.TestUtils; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir; -import com.google.common.collect.Lists; - /** * Test for {@link Tailer}. */ @@ -704,7 +703,7 @@ public class TailerTest { final int timeout = 30; final TimeUnit timeoutUnit = TimeUnit.SECONDS; assertTrue(listener.awaitExpectedLines(timeout, timeoutUnit), () -> String.format("await timed out after %s %s", timeout, timeoutUnit)); - assertEquals(listener.getLines(), Lists.newArrayList("foo"), "lines"); + assertEquals(listener.getLines(), Arrays.asList("foo"), "lines"); } /** Appends lines to a file */