Skip to content

Commit

Permalink
Merge pull request #752 from scireum/mke/SIRI-262_poi_streaming_lib_c…
Browse files Browse the repository at this point in the history
…hange

SIRI-262: poi streaming lib change
  • Loading branch information
jmuscireum authored Sep 23, 2020
2 parents 546e2cd + 3136eb7 commit c1dcf25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@
</dependency>

<dependency>
<groupId>com.monitorjbl</groupId>
<artifactId>xlsx-streamer</artifactId>
<version>2.1.0</version>
<groupId>com.github.pjfanning</groupId>
<artifactId>excel-streaming-reader</artifactId>
<version>2.3.4</version>
</dependency>


Expand Down
4 changes: 2 additions & 2 deletions src/main/java/sirius/web/data/XLSProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

package sirius.web.data;

import com.monitorjbl.xlsx.StreamingReader;
import com.github.pjfanning.xlsx.StreamingReader;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellType;
Expand Down Expand Up @@ -113,7 +113,7 @@ private Object extractCellValue(Cell cell) {
return null;
}
throw new IllegalArgumentException(Strings.apply(
"Cannot read a value of type %d from cell at row %d, column %d",
"Cannot read a value of type %s from cell at row %d, column %d",
cellType,
cell.getRowIndex(),
cell.getColumnIndex()));
Expand Down

0 comments on commit c1dcf25

Please sign in to comment.