Updated PDFValidator.
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
package org.mustangproject.ZUGFeRD;
|
|
||||||
|
|
||||||
public class Version {
|
|
||||||
public static final String VERSION = "2.9.0";
|
|
||||||
}
|
|
||||||
@@ -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 -->
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user