Skip to content

Commit da88ece

Browse files
author
Gary Gregory
committed
Remove noisy inline comments.
1 parent 13258ce commit da88ece

2 files changed

Lines changed: 0 additions & 25 deletions

File tree

src/main/java/org/apache/commons/io/CopyUtils.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,6 @@ public static void copy(
191191
copy(in, output);
192192
}
193193

194-
// ----------------------------------------------------------------
195-
// Reader -> Writer
196-
// ----------------------------------------------------------------
197-
198194
/**
199195
* Copies and convert bytes from an {@code InputStream} to chars on a
200196
* {@code Writer}, using the specified encoding.
@@ -214,10 +210,6 @@ public static void copy(
214210
copy(in, output);
215211
}
216212

217-
// ----------------------------------------------------------------
218-
// InputStream -> Writer
219-
// ----------------------------------------------------------------
220-
221213
/**
222214
* Serialize chars from a {@code Reader} to bytes on an
223215
* {@code OutputStream}, and flush the {@code OutputStream}.
@@ -263,11 +255,6 @@ public static void copy(
263255
out.flush();
264256
}
265257

266-
267-
// ----------------------------------------------------------------
268-
// Reader -> OutputStream
269-
// ----------------------------------------------------------------
270-
271258
/**
272259
* Copies chars from a {@code Reader} to a {@code Writer}.
273260
* @param input the {@code Reader} to read from
@@ -313,10 +300,6 @@ public static void copy(
313300
out.flush();
314301
}
315302

316-
// ----------------------------------------------------------------
317-
// String -> OutputStream
318-
// ----------------------------------------------------------------
319-
320303
/**
321304
* Serialize chars from a {@code String} to bytes on an
322305
* {@code OutputStream}, and
@@ -353,10 +336,6 @@ public static void copy(final String input, final Writer output)
353336
output.write(input);
354337
}
355338

356-
// ----------------------------------------------------------------
357-
// String -> Writer
358-
// ----------------------------------------------------------------
359-
360339
/**
361340
* Instances should NOT be constructed in standard programming.
362341
*/

src/main/java/org/apache/commons/io/input/BOMInputStream.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,6 @@ private boolean matches(final ByteOrderMark bom) {
290290
return true;
291291
}
292292

293-
// ----------------------------------------------------------------------------
294-
// Implementation of InputStream
295-
// ----------------------------------------------------------------------------
296-
297293
/**
298294
* Invokes the delegate's {@code read()} method, detecting and optionally skipping BOM.
299295
*

0 commit comments

Comments
 (0)