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 1d39856 Remove dead comments. Javadoc.
1d39856 is described below
commit 1d39856e13b0b7cf739b4dcc59418d266bfa986d
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Feb 6 13:39:29 2021 -0500
Remove dead comments. Javadoc.
---
src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
b/src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
index 5eb5b42..1fec0ec 100644
--- a/src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
+++ b/src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
@@ -59,7 +59,6 @@ public class IOUtilsCopyTestCase {
private final byte[] inData = TestUtils.generateTestData(FILE_SIZE);
- //-----------------------------------------------------------------------
@SuppressWarnings("resource") // 'in' is deliberately not closed
@Test
public void testCopy_inputStreamToOutputStream() throws Exception {
@@ -77,7 +76,7 @@ public class IOUtilsCopyTestCase {
assertEquals(inData.length,count);
}
- /*
+ /**
* Test Copying file > 2GB - see issue# IO-84
*/
@Test
@@ -143,7 +142,6 @@ public class IOUtilsCopyTestCase {
assertEquals(inData.length,count);
}
- //-----------------------------------------------------------------------
@SuppressWarnings({ "resource", "deprecation" }) // 'in' is deliberately
not closed
@Test
public void testCopy_inputStreamToWriter() throws Exception {
@@ -163,7 +161,6 @@ public class IOUtilsCopyTestCase {
assertTrue(Arrays.equals(inData, baout.toByteArray()), "Content
differs");
}
- //-----------------------------------------------------------------------
@SuppressWarnings("resource") // 'in' is deliberately not closed
@Test
public void testCopy_inputStreamToWriter_Encoding() throws Exception {
@@ -286,7 +283,6 @@ public class IOUtilsCopyTestCase {
assertThrows(NullPointerException.class, () -> IOUtils.copy(reader,
(Appendable) null));
}
- //-----------------------------------------------------------------------
@SuppressWarnings({ "resource", "deprecation" }) // 'in' is deliberately
not closed
@Test
public void testCopy_readerToOutputStream() throws Exception {
@@ -309,7 +305,6 @@ public class IOUtilsCopyTestCase {
assertTrue(Arrays.equals(inData, baout.toByteArray()), "Content
differs");
}
- //-----------------------------------------------------------------------
@SuppressWarnings("resource") // 'in' is deliberately not closed
@Test
public void testCopy_readerToOutputStream_Encoding() throws Exception {
@@ -380,7 +375,6 @@ public class IOUtilsCopyTestCase {
assertThrows(NullPointerException.class, () -> IOUtils.copy(reader,
(OutputStream) null)); // deliberately testing deprecated method
}
- //-----------------------------------------------------------------------
@SuppressWarnings("resource") // 'in' is deliberately not closed
@Test
public void testCopy_readerToWriter() throws Exception {