diff --git a/jhove-ext-modules/pom.xml b/jhove-ext-modules/pom.xml index 662f7edbd..4217cb405 100644 --- a/jhove-ext-modules/pom.xml +++ b/jhove-ext-modules/pom.xml @@ -12,7 +12,7 @@ Third party validation modules for JHOVE. - 1.0.3 + 1.2.1 5.1.0 diff --git a/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/GzipModule.java b/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/GzipModule.java index 062728cc1..a13cdf74c 100644 --- a/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/GzipModule.java +++ b/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/GzipModule.java @@ -241,7 +241,7 @@ protected void processEntry(GzipEntry entry) throws EOFException, IOException { */ private void reportResults(GzipReader reader, RepInfo repInfo) { JwatJhoveIdMinter minter = JwatJhoveIdMinter.getInstance(NAME); - Diagnostics diagnostics = reader.diagnostics; + Diagnostics diagnostics = reader.diagnostics; if (diagnostics.hasErrors()) { for (Diagnosis d : diagnostics.getErrors()) { repInfo.setMessage(new ErrorMessage(minter.mint(d))); diff --git a/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/WarcModule.java b/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/WarcModule.java index 60ece533d..3144c3130 100644 --- a/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/WarcModule.java +++ b/jhove-ext-modules/src/main/java/edu/harvard/hul/ois/jhove/module/WarcModule.java @@ -330,7 +330,7 @@ protected void processRecord(WarcRecord record) throws IOException { */ private void reportResults(WarcReader reader, RepInfo repInfo) { JwatJhoveIdMinter minter = JwatJhoveIdMinter.getInstance(NAME); - Diagnostics diagnostics = reader.diagnostics; + Diagnostics diagnostics = reader.diagnostics; if (diagnostics.hasErrors()) { for (Diagnosis d : diagnostics.getErrors()) { repInfo.setMessage(new ErrorMessage(minter.mint(d)));