Add output of the header array to toString implementation

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522890 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-09-13 12:11:09 +00:00
parent 5e0f654e80
commit 32e1fb0ce0
1 changed files with 4 additions and 0 deletions

View File

@ -600,6 +600,10 @@ public class CSVFormat implements Serializable {
sb.append(" SurroundingSpaces:ignored");
}
sb.append(" SkipHeaderRecord:").append(skipHeaderRecord);
if (header != null) {
sb.append(' ');
sb.append("Header:").append(Arrays.toString(header));
}
return sb.toString();
}