Skip to content
Snippets Groups Projects
Commit c1204128 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- minor

parent 16a5498e
No related branches found
No related tags found
No related merge requests found
......@@ -125,10 +125,10 @@ public class SLUBRetroMonographieTIFFFormatValidationPlugin implements FormatVal
}
private void validate_tiff_by_checkit_tiff_version(String filePath, Checkit_tiff_versions version) {
String execstring = this.checkit_tiff_binary_path.get(version) + " -q " + this.checkit_tiff_config_path.get(version) + " " + filePath ;
log.info("executing: " + execstring);
InputStreamReader process_out;
try {
String execstring = this.checkit_tiff_binary_path.get(version) + " -q " + this.checkit_tiff_config_path.get(version) + " " + filePath ;
log.info("executing: " + execstring);
Process p = Runtime.getRuntime().exec(execstring);
p.waitFor();
process_out = new InputStreamReader(p.getInputStream());
......@@ -139,7 +139,6 @@ public class SLUBRetroMonographieTIFFFormatValidationPlugin implements FormatVal
}
BufferedReader reader = new BufferedReader(process_out);
String line = reader.readLine();
while (line != null) {
System.out.println(line);
validationLog.add(line + System.lineSeparator());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment