Skip to content

Commit daa0a9a

Browse files
committed
Add TODO.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637788 13f79535-47bb-0310-9956-ffa450edef68
1 parent 736d3bb commit daa0a9a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/apache/commons/csv/CSVPrinter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ public void printRecords(final Object... values) throws IOException {
503503
public void printRecords(final ResultSet resultSet) throws SQLException, IOException {
504504
ResultSetMetaData metaData = resultSet.getMetaData();
505505
final int columnCount = metaData.getColumnCount();
506+
// TODO should printing the header be a parameter to this function or an existing CSVFormat option or a new
507+
// CSVFormat option.
506508
boolean printHeader = false;
507509
if (printHeader) {
508510
for (int i = 1; i <= columnCount; i++) {

0 commit comments

Comments
 (0)