Skip to content

Commit 409feb2

Browse files
committed
Doc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727809 13f79535-47bb-0310-9956-ffa450edef68
1 parent 72f78cc commit 409feb2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)