Author: britter
Date: Tue Jul 15 17:33:50 2014
New Revision: 1610768

URL: http://svn.apache.org/r1610768
Log:
Elaborate on the difference between line number and record number

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java

Modified: 
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java
URL: 
http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java?rev=1610768&r1=1610767&r2=1610768&view=diff
==============================================================================
--- 
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java 
(original)
+++ 
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java 
Tue Jul 15 17:33:50 2014
@@ -123,7 +123,13 @@ public final class CSVRecord implements 
     /**
      * 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
+     * the current line number of the parser that created this record.
+     * </p>
+     *
      * @return the number of this record.
+     * @see CSVParser#getCurrentLineNumber() 
      */
     public long getRecordNumber() {
         return recordNumber;


Reply via email to