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

commit ae70118ac7e95d910e90c9f1b1893f593b5e2f67
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Mar 3 08:02:41 2025 -0500

    Remove unused test infra
---
 src/test/java/org/apache/commons/io/channels/FileChannelsTest.java | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java 
b/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
index 2ad0d1c5f..a29fb4457 100644
--- a/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
+++ b/src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
@@ -30,7 +30,6 @@
 import java.nio.channels.SeekableByteChannel;
 import java.nio.file.Files;
 import java.nio.file.Path;
-import java.time.Duration;
 
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
@@ -59,12 +58,6 @@ public static int[] getBufferSizes() {
         return new int[] { 1, 2, IOUtils.DEFAULT_BUFFER_SIZE / 10, 
IOUtils.DEFAULT_BUFFER_SIZE, IOUtils.DEFAULT_BUFFER_SIZE * 10 };
     }
 
-    public static Object[][] getBufferSizesAndTimeouts() {
-        // 1 and 2 are unusual and slow edge cases, but edge cases nonetheless.
-        return new Object[][] { { 1, Duration.ZERO }, { 2, Duration.ZERO }, { 
IOUtils.DEFAULT_BUFFER_SIZE / 10, Duration.ZERO },
-                { IOUtils.DEFAULT_BUFFER_SIZE, Duration.ZERO }, { 
IOUtils.DEFAULT_BUFFER_SIZE * 10, Duration.ZERO } };
-    }
-
     private static FileChannel open(final Path path, final FileChannelType 
fileChannelType) throws IOException {
         final FileChannel fc = FileChannel.open(path);
         if (fileChannelType != null) {

Reply via email to