diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java index da94aa2f..9d28511a 100644 --- a/src/main/java/org/apache/commons/csv/CSVParser.java +++ b/src/main/java/org/apache/commons/csv/CSVParser.java @@ -320,6 +320,8 @@ public final class CSVParser implements Iterable, Closeable { /** * Initializes the name to index mapping if the format defines a header. + * + * @return null if the format has no header. */ private Map initializeHeader() throws IOException { Map hdrMap = null;