Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
KochTobi committed Sep 13, 2024
1 parent f0e073b commit 82f0b1d
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,6 @@ public byte[] getContent() {
return byteArrayOutputStream.toByteArray();
}

private static String getCellValue(Cell cell) {
return switch (cell.getCellType()) {
case FORMULA, _NONE, BLANK, ERROR -> "";
case STRING -> cell.getStringCellValue();
case BOOLEAN -> Boolean.toString(cell.getBooleanCellValue());
case NUMERIC -> Double.toString(cell.getNumericCellValue());
};
}

private static Row getOrCreateRow(Sheet sheet, int index) {
return Optional.ofNullable(sheet.getRow(index))
.orElse(sheet.createRow(index));
Expand Down

0 comments on commit 82f0b1d

Please sign in to comment.