This commit is contained in:
Jochen Stärk
2017-11-18 11:03:28 +01:00
parent 7d400532e4
commit 927c62bfc9

View File

@@ -61,9 +61,10 @@ public class ZUGFeRDImporter {
public void extract(String pdfFilename) { public void extract(String pdfFilename) {
try (BufferedInputStream bis = new BufferedInputStream(new FileInputStream(pdfFilename))) { try (BufferedInputStream bis = new BufferedInputStream(new FileInputStream(pdfFilename))) {
extractLowLevel(bis); extractLowLevel(bis);
bis.close();
} catch (IOException ioe) { } catch (IOException ioe) {
ioe.printStackTrace(); ioe.printStackTrace();
} }
} }
/** /**