registry-service: remove auto column size

This commit is contained in:
akulikov 2024-01-12 18:02:30 +03:00
parent e605897cc1
commit 460642c98c

View file

@ -157,10 +157,6 @@ public abstract class XLSXReportBuilder<R extends FileReport, I extends SpcexObj
}
} finally {
if (workbook != null) {
Iterator<Sheet> sheetIterator = workbook.sheetIterator();
Sheet mainSheet = sheetIterator.next();
short lastCellNum = mainSheet.getRow(0).getLastCellNum();
for (short cellIdx = 0; cellIdx <= lastCellNum; cellIdx++) mainSheet.autoSizeColumn(cellIdx);
workbook.write(new FileOutputStream(reportFile));
workbook.close();
}