[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:
cal101 2021-06-06 16:59:07 +00:00
parent 7693bc131e
commit 4a23342078
2 changed files with 0 additions and 2 deletions

View File

@ -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) {

View File

@ -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);