Skip to content

Commit 9b75f05

Browse files
committed
Javadoc
1 parent 7bfb0ce commit 9b75f05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ final class CSVRecordIterator implements Iterator<CSVRecord> {
225225
*
226226
* @throws IOException on parse error or input read-failure
227227
* @throws CSVException on invalid input.
228-
* @return the next record.
228+
* @return the next record, or {@code null} if the end of the stream has been reached.
229229
*/
230230
private CSVRecord getNextRecord() {
231231
return Uncheck.get(CSVParser.this::nextRecord);
@@ -876,8 +876,8 @@ public Iterator<CSVRecord> iterator() {
876876
/**
877877
* Parses the next record from the current point in the stream.
878878
*
879-
* @return the record as an array of values, or {@code null} if the end of the stream has been reached
880-
* @throws IOException on parse error or input read-failure
879+
* @return the record as an array of values, or {@code null} if the end of the stream has been reached.
880+
* @throws IOException on parse error or input read-failure.
881881
* @throws CSVException on invalid input.
882882
*/
883883
CSVRecord nextRecord() throws IOException {

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public CSVParser getParser() {
197197
* Returns the number of this record in the parsed CSV file.
198198
*
199199
* <p>
200-
* <strong>ATTENTION:</strong> If your CSV input has multi-line values, the returned number does not correspond to
200+
* <strong>NOTE:</strong>If your CSV input has multi-line values, the returned number does not correspond to
201201
* the current line number of the parser that created this record.
202202
* </p>
203203
*

0 commit comments

Comments
 (0)