diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index 665c1a1b..d40721d0 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -123,7 +123,13 @@ public final class CSVRecord implements Serializable, Iterable { /** * Returns the number of this record in the parsed CSV file. * + *

+ * ATTENTION: 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. + *

+ * * @return the number of this record. + * @see CSVParser#getCurrentLineNumber() */ public long getRecordNumber() { return recordNumber;