You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/01/31 14:08:33 UTC

svn commit: r1727809 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVRecord.java

Author: sebb
Date: Sun Jan 31 13:08:33 2016
New Revision: 1727809

URL: http://svn.apache.org/viewvc?rev=1727809&view=rev
Log:
Doc

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=1727809&r1=1727808&r2=1727809&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 Sun Jan 31 13:08:33 2016
@@ -125,6 +125,9 @@ public final class CSVRecord implements
 
     /**
      * Returns the comment for this record, if any.
+     * Note that comments are attached to the following record.
+     * If there is no following record (i.e. the comment is at EOF)
+     * the comment will be ignored.
      *
      * @return the comment for this record, or null if no comment for this record is available.
      */
@@ -163,6 +166,9 @@ public final class CSVRecord implements
 
     /**
      * Checks whether this record has a comment, false otherwise.
+     * Note that comments are attached to the following record.
+     * If there is no following record (i.e. the comment is at EOF)
+     * the comment will be ignored.
      *
      * @return true if this record has a comment, false otherwise
      * @since 1.3