diff --git a/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementEditTemplate.java b/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementEditTemplate.java index 775b4ea20..4066a71a0 100644 --- a/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementEditTemplate.java +++ b/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementEditTemplate.java @@ -111,7 +111,7 @@ public byte[] getContent() { } try (Workbook workbook = new XSSFWorkbook(); - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();) { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream()) { CellStyle readOnlyHeaderStyle = XLSXTemplateHelper.createReadOnlyHeaderCellStyle(workbook); CellStyle boldStyle = createBoldCellStyle(workbook); diff --git a/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementRegisterTemplate.java b/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementRegisterTemplate.java index ccf6c25f4..adf38ed0b 100644 --- a/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementRegisterTemplate.java +++ b/user-interface/src/main/java/life/qbic/datamanager/templates/measurement/ProteomicsMeasurementRegisterTemplate.java @@ -62,7 +62,7 @@ private static void setAutoWidth(Sheet sheet) { @Override public byte[] getContent() { try (Workbook workbook = new XSSFWorkbook(); - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();) { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream()) { CellStyle readOnlyHeaderStyle = XLSXTemplateHelper.createReadOnlyHeaderCellStyle(workbook); CellStyle boldStyle = createBoldCellStyle(workbook);