diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index a2360c50..b7d276d3 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -162,12 +162,12 @@ public final class CSVRecord implements Serializable, Iterable { } /** - * 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 */ - public boolean isComment() { + public boolean hasComment() { return comment != null; }