poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59336] [patch] Deprecate CellUtil.setCellStyleProperty(Cell, Workbook, String, Object)
Date Sat, 16 Apr 2016 04:52:47 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59336

--- Comment #2 from Javen O'Neal <onealj@apache.org> ---
(In reply to Mark Murphy from comment #0)
> It is my opinion that the entire class HSSFCellUtil should be deprecated in 
> favor of CellUtil

I agree. Please open a separate bug to deprecate features in HSSFCellUtil and
move them to CellUtil if CellUtil does not provide the same functionality.

class HSSFCellUtil {
    public static Object someMethodThatIsAlsoInCellUtil() {
        System.out.println("Hello World");
        return null;
    }
}

becomes

class HSSFCellUtil {
    /*
     * @deprecated 3.15 beta2. Removed in 3.17. Use {@link
org.apache.poi.ss.util.CellUtil@someMethodThatIsAlsoInCellUtil} instead.
     */
    public static Object someMethodThatIsAlsoInCellUtil() {
        return CellUtil.theMethodInCellUtil();
    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message