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:
parent
736d3bbe4b
commit
daa0a9a9c4
|
@ -503,6 +503,8 @@ public final class CSVPrinter implements Flushable, Closeable {
|
||||||
public void printRecords(final ResultSet resultSet) throws SQLException, IOException {
|
public void printRecords(final ResultSet resultSet) throws SQLException, IOException {
|
||||||
ResultSetMetaData metaData = resultSet.getMetaData();
|
ResultSetMetaData metaData = resultSet.getMetaData();
|
||||||
final int columnCount = metaData.getColumnCount();
|
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;
|
boolean printHeader = false;
|
||||||
if (printHeader) {
|
if (printHeader) {
|
||||||
for (int i = 1; i <= columnCount; i++) {
|
for (int i = 1; i <= columnCount; i++) {
|
||||||
|
|
Loading…
Reference in New Issue