mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -56,7 +56,7 @@ public class Excel07SaxReader implements ExcelSaxReader<Excel07SaxReader> {
|
||||
|
||||
@Override
|
||||
public Excel07SaxReader read(File file, String idOrRidOrSheetName) throws POIException {
|
||||
try (OPCPackage open = OPCPackage.open(file, PackageAccess.READ);){
|
||||
try (OPCPackage open = OPCPackage.open(file, PackageAccess.READ)){
|
||||
return read(open, idOrRidOrSheetName);
|
||||
} catch (InvalidFormatException | IOException e) {
|
||||
throw new POIException(e);
|
||||
|
Reference in New Issue
Block a user