Updated PDFValidator.
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.deploy.skip>false
|
||||
</maven.deploy.skip><!-- do deploy to maven central, parent project does not and inherits -->
|
||||
<maven.compiler.compilerVersion>21</maven.compiler.compilerVersion>
|
||||
<maven.compiler.source>21</maven.compiler.source>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<maven.compiler.compilerVersion>8</maven.compiler.compilerVersion>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
|
||||
</properties>
|
||||
<dependencies>
|
||||
@@ -190,8 +190,8 @@
|
||||
<!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
|
||||
mvn clean compile assembly:single -->
|
||||
<!-- or whatever version you use -->
|
||||
<source>9</source>
|
||||
<target>9</target>
|
||||
<source>8</source>
|
||||
<target>8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- /ZUV -->
|
||||
|
||||
@@ -327,9 +327,8 @@ public class PDFValidator extends Validator {
|
||||
|
||||
}
|
||||
|
||||
public void setFileContents(byte[] filecontents) throws IrrecoverableValidationError {
|
||||
this.fileContents = filecontents;
|
||||
|
||||
public void setFileContents(byte[] fileContents) {
|
||||
this.fileContents = fileContents;
|
||||
}
|
||||
|
||||
public String getRawXML() {
|
||||
|
||||
Reference in New Issue
Block a user