Skip to content

Commit 1d39856

Browse files
author
Gary Gregory
committed
Remove dead comments. Javadoc.
1 parent 0674100 commit 1d39856

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/test/java/org/apache/commons/io/IOUtilsCopyTestCase.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public class IOUtilsCopyTestCase {
5959

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

62-
//-----------------------------------------------------------------------
6362
@SuppressWarnings("resource") // 'in' is deliberately not closed
6463
@Test
6564
public void testCopy_inputStreamToOutputStream() throws Exception {
@@ -77,7 +76,7 @@ public void testCopy_inputStreamToOutputStream() throws Exception {
7776
assertEquals(inData.length,count);
7877
}
7978

80-
/*
79+
/**
8180
* Test Copying file > 2GB - see issue# IO-84
8281
*/
8382
@Test
@@ -143,7 +142,6 @@ private void testCopy_inputStreamToOutputStreamWithBufferSize(final int bufferSi
143142
assertEquals(inData.length,count);
144143
}
145144

146-
//-----------------------------------------------------------------------
147145
@SuppressWarnings({ "resource", "deprecation" }) // 'in' is deliberately not closed
148146
@Test
149147
public void testCopy_inputStreamToWriter() throws Exception {
@@ -163,7 +161,6 @@ public void testCopy_inputStreamToWriter() throws Exception {
163161
assertTrue(Arrays.equals(inData, baout.toByteArray()), "Content differs");
164162
}
165163

166-
//-----------------------------------------------------------------------
167164
@SuppressWarnings("resource") // 'in' is deliberately not closed
168165
@Test
169166
public void testCopy_inputStreamToWriter_Encoding() throws Exception {
@@ -286,7 +283,6 @@ public void testCopy_readerToAppendable_nullOut() {
286283
assertThrows(NullPointerException.class, () -> IOUtils.copy(reader, (Appendable) null));
287284
}
288285

289-
//-----------------------------------------------------------------------
290286
@SuppressWarnings({ "resource", "deprecation" }) // 'in' is deliberately not closed
291287
@Test
292288
public void testCopy_readerToOutputStream() throws Exception {
@@ -309,7 +305,6 @@ public void testCopy_readerToOutputStream() throws Exception {
309305
assertTrue(Arrays.equals(inData, baout.toByteArray()), "Content differs");
310306
}
311307

312-
//-----------------------------------------------------------------------
313308
@SuppressWarnings("resource") // 'in' is deliberately not closed
314309
@Test
315310
public void testCopy_readerToOutputStream_Encoding() throws Exception {
@@ -380,7 +375,6 @@ public void testCopy_readerToOutputStream_nullOut() {
380375
assertThrows(NullPointerException.class, () -> IOUtils.copy(reader, (OutputStream) null)); // deliberately testing deprecated method
381376
}
382377

383-
//-----------------------------------------------------------------------
384378
@SuppressWarnings("resource") // 'in' is deliberately not closed
385379
@Test
386380
public void testCopy_readerToWriter() throws Exception {

0 commit comments

Comments
 (0)