commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1610768 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java
Date Tue, 15 Jul 2014 17:33:51 GMT
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;



Mime
View raw message