Skip to content

Commit 5236eb0

Browse files
committed
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1300199 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9f48d4a commit 5236eb0

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private FilePart(final long no, final int length, final byte[] leftOverOfLastFil
198198
}
199199

200200
/**
201-
* handle block rollover
201+
* Handles block rollover
202202
*
203203
* @return the new FilePart or null
204204
* @throws IOException if there was a problem reading the file
@@ -223,7 +223,8 @@ private FilePart rollOver() throws IOException {
223223
}
224224

225225
/**
226-
* read a line.
226+
* Reads a line.
227+
*
227228
* @return the line or null
228229
* @throws IOException if there is an error reading from the file
229230
*/
@@ -282,7 +283,7 @@ private String readLine() throws IOException {
282283
}
283284

284285
/**
285-
* create buffer containing any left over bytes.
286+
* Creates the buffer containing any left over bytes.
286287
*/
287288
private void createLeftOver() {
288289
int lineLengthBytes = currentLastBytePos + 1;
@@ -297,7 +298,8 @@ private void createLeftOver() {
297298
}
298299

299300
/**
300-
* find newline sequence and return its length
301+
* Finds the new-line sequence and return its length.
302+
*
301303
* @param data buffer to scan
302304
* @param i start offset in buffer
303305
* @return length of newline sequence or 0 if none found

0 commit comments

Comments
 (0)