https://bz.apache.org/bugzilla/show_bug.cgi?id=69366

--- Comment #1 from fjyoyd89f...@mail.ru ---
Just to check on last commit
(https://github.com/apache/poi/commit/f1a5571a617b62219df99a5faf7eaa7ce4cf0850)
I wrote test

 @Test
    public void testBug69366() throws IOException {
        try (Workbook workbook = new XSSFWorkbook()) {
            final Sheet sheet = workbook.createSheet("Sheet");
            final Row row = sheet.createRow(0);
            final Cell cell1 = row.createCell(0);
            final Cell cell2 = row.createCell(1);
            Map<CellPropertyType, Object> properties = new LinkedHashMap<>();
            properties.put(CellPropertyType.FILL_FOREGROUND_COLOR, null);
            CellUtil.setCellStylePropertiesEnum(cell1, properties);

            int numStyles = workbook.getNumCellStyles();

            CellUtil.setCellStylePropertiesEnum(cell1, properties);
            assertEquals(numStyles, workbook.getNumCellStyles());
        }
    }

Bug still here

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to