Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Gregory committed Sep 17, 2022
1 parent 153a91c commit 88e2614
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/test/java/org/apache/commons/io/IOUtilsCopyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
import org.junit.jupiter.api.Test;

/**
* JUnit tests for IOUtils copy methods.
*
* @see IOUtils
* Test {@link IOUtils} copy methods.
*/
public class IOUtilsCopyTest {

Expand All @@ -60,7 +58,6 @@ public class IOUtilsCopyTest {

private static final int FILE_SIZE = 1024 * 4 + 1;


private final byte[] inData = TestUtils.generateTestData(FILE_SIZE);

@SuppressWarnings("resource") // 'in' is deliberately not closed
Expand Down Expand Up @@ -288,7 +285,6 @@ public void testCopy_readerToAppendable_IO84() throws Exception {

// Test copyLarge() method
assertEquals(size, IOUtils.copyLarge(reader, writer), "copy()");

}

@Test
Expand Down Expand Up @@ -419,8 +415,8 @@ public void testCopy_readerToWriter() throws Exception {
assertArrayEquals(inData, baout.toByteArray(), "Content differs");
}

/*
* Test Copying file > 2GB - see issue# IO-84
/**
* Tests Copying file > 2GB - see issue# IO-84
*/
@Test
public void testCopy_readerToWriter_IO84() throws Exception {
Expand All @@ -436,7 +432,6 @@ public void testCopy_readerToWriter_IO84() throws Exception {

// Test copyLarge() method
assertEquals(size, IOUtils.copyLarge(reader, writer), "copyLarge()");

}

@Test
Expand Down

0 comments on commit 88e2614

Please sign in to comment.