mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug
This commit is contained in:
@@ -42,6 +42,9 @@ public class CsvData implements Iterable<CsvRow>, Serializable {
|
||||
* @return the header row - might be {@code null} if no header exists
|
||||
*/
|
||||
public List<String> getHeader() {
|
||||
if(null == this.header){
|
||||
return null;
|
||||
}
|
||||
return Collections.unmodifiableList(this.header);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user