mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
Merge pull request #1630 from cal101/erefactor/v5-dev-project/6/jdt-RemoveUnusedLocalVariableCleanUp-2
[cleanup] erefactor/EclipseJdt - Remove unused local variables
This commit is contained in:
@@ -385,7 +385,6 @@ public class Excel03SaxReader implements HSSFListener, ExcelSaxReader<Excel03Sax
|
|||||||
return Integer.parseInt(StrUtil.removePrefixIgnoreCase(idOrRidOrSheetName, RID_PREFIX));
|
return Integer.parseInt(StrUtil.removePrefixIgnoreCase(idOrRidOrSheetName, RID_PREFIX));
|
||||||
}
|
}
|
||||||
|
|
||||||
final int sheetIndex;
|
|
||||||
try {
|
try {
|
||||||
return Integer.parseInt(idOrRidOrSheetName);
|
return Integer.parseInt(idOrRidOrSheetName);
|
||||||
} catch (NumberFormatException ignore) {
|
} catch (NumberFormatException ignore) {
|
||||||
|
@@ -247,7 +247,6 @@ public class ExcelSaxUtil {
|
|||||||
* @since 5.5.0
|
* @since 5.5.0
|
||||||
*/
|
*/
|
||||||
public static Object getNumberOrDateValue(CellValueRecordInterface cell, double value, FormatTrackingHSSFListener formatListener) {
|
public static Object getNumberOrDateValue(CellValueRecordInterface cell, double value, FormatTrackingHSSFListener formatListener) {
|
||||||
Object result;
|
|
||||||
if (isDateFormat(cell, formatListener)) {
|
if (isDateFormat(cell, formatListener)) {
|
||||||
// 可能为日期格式
|
// 可能为日期格式
|
||||||
return getDateValue(value);
|
return getDateValue(value);
|
||||||
|
Reference in New Issue
Block a user