From 2465f5e8f627d13d61a9b3cfa9feac845850691b Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 30 Jan 2016 23:40:26 +0000 Subject: [PATCH] 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 --- src/main/java/org/apache/commons/csv/CSVRecord.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }