Skip to content

Commit 7d5fb89

Browse files
committed
Remove useless comment prefix and postfix
1 parent 8e65e2b commit 7d5fb89

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private String readLine() { //NOPMD Bug in PMD
203203
break; // skip last few bytes and leave it to the next file part
204204
}
205205

206-
// --- check for newline ---
206+
// check for newline
207207
if ((newLineMatchByteCount = getNewLineMatchByteCount(data, i)) > 0 /* found newline */) {
208208
final int lineStart = i + 1;
209209
final int lineLengthBytes = currentLastBytePos - lineStart + 1;
@@ -219,17 +219,17 @@ private String readLine() { //NOPMD Bug in PMD
219219
break; // found line
220220
}
221221

222-
// --- move cursor ---
222+
// move cursor
223223
i -= byteDecrement;
224224

225-
// --- end of file part handling ---
225+
// end of file part handling
226226
if (i < 0) {
227227
createLeftOver();
228228
break; // end of file part
229229
}
230230
}
231231

232-
// --- last file part handling ---
232+
// last file part handling
233233
if (isLastFilePart && leftOver != null) {
234234
// there will be no line break anymore, this is the first line of the file
235235
line = new String(leftOver, charset);

0 commit comments

Comments
 (0)