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
This commit is contained in:
Sebastian Bazley 2016-01-30 23:40:26 +00:00
parent 51049fd117
commit 2465f5e8f6
1 changed files with 3 additions and 3 deletions

View File

@ -162,12 +162,12 @@ public final class CSVRecord implements Serializable, Iterable<String> {
} }
/** /**
* Checks whether this record is a comment, false otherwise. * Checks whether this record has a comment, false otherwise.
* *
* @return true if this record is a comment, false otherwise * @return true if this record has a comment, false otherwise
* @since 1.3 * @since 1.3
*/ */
public boolean isComment() { public boolean hasComment() {
return comment != null; return comment != null;
} }