Skip to content

Commit ae70118

Browse files
committed
Remove unused test infra
1 parent 77a1915 commit ae70118

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/test/java/org/apache/commons/io/channels/FileChannelsTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import java.nio.channels.SeekableByteChannel;
3131
import java.nio.file.Files;
3232
import java.nio.file.Path;
33-
import java.time.Duration;
3433

3534
import org.apache.commons.io.FileUtils;
3635
import org.apache.commons.io.IOUtils;
@@ -59,12 +58,6 @@ public static int[] getBufferSizes() {
5958
return new int[] { 1, 2, IOUtils.DEFAULT_BUFFER_SIZE / 10, IOUtils.DEFAULT_BUFFER_SIZE, IOUtils.DEFAULT_BUFFER_SIZE * 10 };
6059
}
6160

62-
public static Object[][] getBufferSizesAndTimeouts() {
63-
// 1 and 2 are unusual and slow edge cases, but edge cases nonetheless.
64-
return new Object[][] { { 1, Duration.ZERO }, { 2, Duration.ZERO }, { IOUtils.DEFAULT_BUFFER_SIZE / 10, Duration.ZERO },
65-
{ IOUtils.DEFAULT_BUFFER_SIZE, Duration.ZERO }, { IOUtils.DEFAULT_BUFFER_SIZE * 10, Duration.ZERO } };
66-
}
67-
6861
private static FileChannel open(final Path path, final FileChannelType fileChannelType) throws IOException {
6962
final FileChannel fc = FileChannel.open(path);
7063
if (fileChannelType != null) {

0 commit comments

Comments
 (0)