]> source.dussan.org Git - poi.git/commitdiff
remove duplicate attempt to add column headers
authorPJ Fanning <fanningpj@apache.org>
Tue, 13 Nov 2018 21:34:03 +0000 (21:34 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 13 Nov 2018 21:34:03 +0000 (21:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846549 13f79535-47bb-0310-9956-ffa450edef68

src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateTable.java

index 482184faceb4a68e5447d8076f8d5f85c2746942..ad2b6adcdd9fae3e99ec8d303374e3048db02e5e 100644 (file)
@@ -77,10 +77,6 @@ public class CreateTable {
                     }
                 }
             }
-            // Create the columns
-            table.createColumn("Column 1");
-            table.createColumn("Column 2");
-            table.createColumn("Column 3");
 
             // Save
             try (FileOutputStream fileOut = new FileOutputStream("ooxml-table.xlsx")) {