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

            Bug ID: 59336
           Summary: [patch] Deprecate CellUtil.setCellStyleProperty(Cell,
                    Workbook, String, Object)
           Product: POI
           Version: 3.15-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: jmarkmu...@yahoo.com

Created attachment 33770
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33770&action=edit
Patch file generated via Ant script

Due to addition of CellUtil.setCellStylePrperties(Cell, Map<String, Object>),
the Workbook parameter of CellUtil.setCellStyleProperty(Cell, Workbook, String,
Object) does nothing except throw an exception if it does not match the
Workbook object associated with Cell. This patch deprecates
CellUtil.setCellStyleProperty(Cell, Workbook, String, Object) in favor of
CellUtil.setCellStyleProperty(Cell, String, Object). Objects using the
deprecated method are modified appropriately to use the new method. One aside,
HSSFCellUtil is nothing but a wrapper for some of the methods in CellUtil. No
XSSFCellUtil class exists. It is my opinion that the entire class HSSFCellUtil
should be deprecated in favor of CellUtil, or it should be completed and
XSSFCellUtil added. I prefer the former as HSSFCellUtil gives us nothing except
the "ability" to lock the user in to the older HSSF format.

-- 
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