Skip to content

Commit 2465f5e

Browse files
committed
CSV-167 Rename method and update Javadoc to correspond with reality
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727766 13f79535-47bb-0310-9956-ffa450edef68
1 parent 51049fd commit 2465f5e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ public boolean isConsistent() {
162162
}
163163

164164
/**
165-
* Checks whether this record is a comment, false otherwise.
165+
* Checks whether this record has a comment, false otherwise.
166166
*
167-
* @return true if this record is a comment, false otherwise
167+
* @return true if this record has a comment, false otherwise
168168
* @since 1.3
169169
*/
170-
public boolean isComment() {
170+
public boolean hasComment() {
171171
return comment != null;
172172
}
173173

0 commit comments

Comments
 (0)