mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
[cleanup] erefactor/EclipseJdt - Remove unused local variables
EclipseJdt cleanup 'RemoveUnusedLocalVariable' applied by erefactor. For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
parent
7693bc131e
commit
4a23342078
@ -385,7 +385,6 @@ public class Excel03SaxReader implements HSSFListener, ExcelSaxReader<Excel03Sax
|
||||
return Integer.parseInt(StrUtil.removePrefixIgnoreCase(idOrRidOrSheetName, RID_PREFIX));
|
||||
}
|
||||
|
||||
final int sheetIndex;
|
||||
try {
|
||||
return Integer.parseInt(idOrRidOrSheetName);
|
||||
} catch (NumberFormatException ignore) {
|
||||
|
@ -247,7 +247,6 @@ public class ExcelSaxUtil {
|
||||
* @since 5.5.0
|
||||
*/
|
||||
public static Object getNumberOrDateValue(CellValueRecordInterface cell, double value, FormatTrackingHSSFListener formatListener) {
|
||||
Object result;
|
||||
if (isDateFormat(cell, formatListener)) {
|
||||
// 可能为日期格式
|
||||
return getDateValue(value);
|
||||
|
Loading…
Reference in New Issue
Block a user