java - poi部分方法过时
迷茫
迷茫 2017-04-18 10:43:41
0
2
698
迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
阿神
 /**
     * Return the cell type.
     * 
     * Will return {@link CellType} in version 4.0 of POI.
     * For forwards compatibility, do not hard-code cell type literals in your code.
     *
     * @return the cell type
     * @deprecated POI 3.15. Will return a {@link CellType} enum in the future.
     */
    int getCellType();
    
    

The comment says that it will be provided in the future, and it is marked as obsolete if no alternative method is provided. This approach is a bit strange

左手右手慢动作

Name changed to: getCellType

Official documentation: https://poi.apache.org/apidoc...

The document says: Returning int will be replaced by returning CellType after version 4.0, but the name is still getCellType

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template