This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-csv.git
commit 9b75f05c9934cad8cc0886a7215e5c936e92662d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Mar 8 11:51:45 2025 -0500 Javadoc --- src/main/java/org/apache/commons/csv/CSVParser.java | 6 +++--- src/main/java/org/apache/commons/csv/CSVRecord.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java index 0cd37c9a..2e4c8133 100644 --- a/src/main/java/org/apache/commons/csv/CSVParser.java +++ b/src/main/java/org/apache/commons/csv/CSVParser.java @@ -225,7 +225,7 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable { * * @throws IOException on parse error or input read-failure * @throws CSVException on invalid input. - * @return the next record. + * @return the next record, or {@code null} if the end of the stream has been reached. */ private CSVRecord getNextRecord() { return Uncheck.get(CSVParser.this::nextRecord); @@ -876,8 +876,8 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable { /** * Parses the next record from the current point in the stream. * - * @return the record as an array of values, or {@code null} if the end of the stream has been reached - * @throws IOException on parse error or input read-failure + * @return the record as an array of values, or {@code null} if the end of the stream has been reached. + * @throws IOException on parse error or input read-failure. * @throws CSVException on invalid input. */ CSVRecord nextRecord() throws IOException { diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index b120f945..33642530 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -197,7 +197,7 @@ public final class CSVRecord implements Serializable, Iterable<String> { * Returns the number of this record in the parsed CSV file. * * <p> - * <strong>ATTENTION:</strong> If your CSV input has multi-line values, the returned number does not correspond to + * <strong>NOTE:</strong>If your CSV input has multi-line values, the returned number does not correspond to * the current line number of the parser that created this record. * </p> *