File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ public long getCharacterPosition() {
125125
126126 /**
127127 * Returns the comment for this record, if any.
128+ * Note that comments are attached to the following record.
129+ * If there is no following record (i.e. the comment is at EOF)
130+ * the comment will be ignored.
128131 *
129132 * @return the comment for this record, or null if no comment for this record is available.
130133 */
@@ -163,6 +166,9 @@ public boolean isConsistent() {
163166
164167 /**
165168 * Checks whether this record has a comment, false otherwise.
169+ * Note that comments are attached to the following record.
170+ * If there is no following record (i.e. the comment is at EOF)
171+ * the comment will be ignored.
166172 *
167173 * @return true if this record has a comment, false otherwise
168174 * @since 1.3
You can’t perform that action at this time.
0 commit comments