diff --git a/modules/src/main/java/org/archive/modules/recrawl/FetchHistoryProcessor.java b/modules/src/main/java/org/archive/modules/recrawl/FetchHistoryProcessor.java index e8e7fc12..45a373f4 100644 --- a/modules/src/main/java/org/archive/modules/recrawl/FetchHistoryProcessor.java +++ b/modules/src/main/java/org/archive/modules/recrawl/FetchHistoryProcessor.java @@ -107,9 +107,9 @@ public class FetchHistoryProcessor extends Processor { curi.getData().put(A_FETCH_HISTORY, history); if (curi.getFetchStatus() == 304) { - // Copy forward the content digest as the current digest is simply of an empty response - latestFetch.put(A_CONTENT_DIGEST, history[1].get(A_CONTENT_DIGEST)); - // Create revisit profile + // Copy forward the content digest as the current digest is simply of an empty response + latestFetch.put(A_CONTENT_DIGEST, history[1].get(A_CONTENT_DIGEST)); + // Create revisit profile ServerNotModifiedRevisit revisit = new ServerNotModifiedRevisit(); revisit.setETag((String) latestFetch.get(A_ETAG_HEADER)); revisit.setLastModified((String) latestFetch.get(A_LAST_MODIFIED_HEADER));