You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/09/17 21:13:21 UTC

[commons-io] branch master updated: Javadoc

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 88e26147 Javadoc
88e26147 is described below

commit 88e2614726c85d9082bc43d5fa45dbbd5b50b128
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Sep 17 17:13:15 2022 -0400

    Javadoc
---
 src/test/java/org/apache/commons/io/IOUtilsCopyTest.java | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/IOUtilsCopyTest.java b/src/test/java/org/apache/commons/io/IOUtilsCopyTest.java
index 6ce0e7df..75e00bd2 100644
--- a/src/test/java/org/apache/commons/io/IOUtilsCopyTest.java
+++ b/src/test/java/org/apache/commons/io/IOUtilsCopyTest.java
@@ -45,9 +45,7 @@ import org.apache.commons.io.test.ThrowOnFlushAndCloseOutputStream;
 import org.junit.jupiter.api.Test;
 
 /**
- * JUnit tests for IOUtils copy methods.
- *
- * @see IOUtils
+ * Test {@link IOUtils} copy methods.
  */
 public class IOUtilsCopyTest {
 
@@ -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
@@ -288,7 +285,6 @@ public class IOUtilsCopyTest {
 
         // Test copyLarge() method
         assertEquals(size, IOUtils.copyLarge(reader, writer), "copy()");
-
     }
 
     @Test
@@ -419,8 +415,8 @@ public class IOUtilsCopyTest {
         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 {
@@ -436,7 +432,6 @@ public class IOUtilsCopyTest {
 
         // Test copyLarge() method
         assertEquals(size, IOUtils.copyLarge(reader, writer), "copyLarge()");
-
     }
 
     @Test