Remove dead comments. Javadoc.
MODIFY
src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java
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 void testCopy_inputStreamToOutputStream() throws Exception {
assertEquals(inData.length,count);
}
- /*
+ /**
* Test Copying file > 2GB - see issue# IO-84
*/
@Test
@@ -143,7 +142,6 @@ private void testCopy_inputStreamToOutputStreamWithBufferSize(final int bufferSi
assertEquals(inData.length,count);
}
- //-----------------------------------------------------------------------
@SuppressWarnings({ "resource", "deprecation" }) // 'in' is deliberately not closed
@Test
public void testCopy_inputStreamToWriter() throws Exception {
@@ -163,7 +161,6 @@ public void testCopy_inputStreamToWriter() throws Exception {
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 void testCopy_readerToAppendable_nullOut() {
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 void testCopy_readerToOutputStream() throws Exception {
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 void testCopy_readerToOutputStream_nullOut() {
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 {

Remove dead comments. Javadoc.