Add TODO.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-11-10 04:22:57 +00:00
parent 736d3bbe4b
commit daa0a9a9c4
1 changed files with 2 additions and 0 deletions

View File

@ -503,6 +503,8 @@ public final class CSVPrinter implements Flushable, Closeable {
public void printRecords(final ResultSet resultSet) throws SQLException, IOException {
ResultSetMetaData metaData = resultSet.getMetaData();
final int columnCount = metaData.getColumnCount();
// TODO should printing the header be a parameter to this function or an existing CSVFormat option or a new
// CSVFormat option.
boolean printHeader = false;
if (printHeader) {
for (int i = 1; i <= columnCount; i++) {