Merge pull request #451 from langfr/bugfix/451

Fix ClassCastException in CLI (Main.java).
This commit is contained in:
Jochen Staerk
2024-08-28 13:41:45 +02:00
committed by GitHub
2 changed files with 9 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ public class ZUGFeRDExporterFromPDFA implements IZUGFeRDExporter {
}
protected IZUGFeRDExporter getExporter() {
public IZUGFeRDExporter getExporter() {
if (theExporter==null) {
throw new RuntimeException("In ZUGFeRDExporterFromPDFA, source must always be loaded before other operations are performed.");
}