This commit is contained in:
looly
2021-11-24 09:35:50 +08:00
parent d0a86d5734
commit 612884e0f6
2 changed files with 3 additions and 1 deletions

View File

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