From 4406fba31cf945861a23a1d3730b06386d7722fb Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Fri, 23 Mar 2012 17:22:22 +0000 Subject: [PATCH] Document existing behaviour git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1304503 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/csv/CSVRecord.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java index 7ffa8c19..50fbca79 100644 --- a/src/main/java/org/apache/commons/csv/CSVRecord.java +++ b/src/main/java/org/apache/commons/csv/CSVRecord.java @@ -54,7 +54,9 @@ public class CSVRecord implements Serializable, Iterable { /** * Returns a value by name. * - * @param name the name of the column retrieved + * @param name the name of the column to be retrieved + * @return the column value, or {@code null} if the column name is not found + * @throws IllegalStateException if no header mapping was provided */ public String get(String name) { if (mapping == null) {