Skip to content

Commit 05be7e6

Browse files
committed
fix: fix ArrayStoreException
Close #170
1 parent bab1b86 commit 05be7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/gridexporter/CsvStreamResourceWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void accept(OutputStream out, VaadinSession session) throws IOException {
6060
.filter(this::isExportable)
6161
.collect(Collectors.toList()));
6262

63-
headers = getGridHeaders(grid).stream().map(GridHeader::getTexts).toArray(String[]::new);
63+
headers = getGridHeaders(grid).stream().map(GridHeader::getText).toArray(String[]::new);
6464
data = obtainDataStream(grid.getDataProvider())
6565
.map(this::buildRow)
6666
.collect(Collectors.toList());

0 commit comments

Comments
 (0)