Updated PDFValidator.

This commit is contained in:
Dominik Röschke
2024-05-02 13:07:59 +02:00
parent 9f759fdb28
commit adbb7c1840
3 changed files with 7 additions and 13 deletions

View File

@@ -1,5 +0,0 @@
package org.mustangproject.ZUGFeRD;
public class Version {
public static final String VERSION = "2.9.0";
}

View File

@@ -29,9 +29,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>false <maven.deploy.skip>false
</maven.deploy.skip><!-- do deploy to maven central, parent project does not and inherits --> </maven.deploy.skip><!-- do deploy to maven central, parent project does not and inherits -->
<maven.compiler.compilerVersion>21</maven.compiler.compilerVersion> <maven.compiler.compilerVersion>8</maven.compiler.compilerVersion>
<maven.compiler.source>21</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
</properties> </properties>
<dependencies> <dependencies>
@@ -190,8 +190,8 @@
<!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven <!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
mvn clean compile assembly:single --> mvn clean compile assembly:single -->
<!-- or whatever version you use --> <!-- or whatever version you use -->
<source>9</source> <source>8</source>
<target>9</target> <target>8</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- /ZUV --> <!-- /ZUV -->

View File

@@ -327,9 +327,8 @@ public class PDFValidator extends Validator {
} }
public void setFileContents(byte[] filecontents) throws IrrecoverableValidationError { public void setFileContents(byte[] fileContents) {
this.fileContents = filecontents; this.fileContents = fileContents;
} }
public String getRawXML() { public String getRawXML() {