Skip to content

Commit 4406fba

Browse files
committed
Document existing behaviour
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1304503 13f79535-47bb-0310-9956-ffa450edef68
1 parent 37a261b commit 4406fba

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ public String get(int i) {
5454
/**
5555
* Returns a value by name.
5656
*
57-
* @param name the name of the column retrieved
57+
* @param name the name of the column to be retrieved
58+
* @return the column value, or {@code null} if the column name is not found
59+
* @throws IllegalStateException if no header mapping was provided
5860
*/
5961
public String get(String name) {
6062
if (mapping == null) {

0 commit comments

Comments
 (0)