Skip to content

Commit

Permalink
Removed some old redundant code.
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Nov 24, 2016
1 parent 1596f3a commit 7b942ec
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,20 +207,6 @@ public boolean canAccept(Job job, DomainConfiguration cfg, DomainConfiguration p
protected void editJobOrderXml(Job job) {
HeritrixTemplate doc = job.getOrderXMLdoc();
doc.enableOrDisableDeduplication(DEDUPLICATION_ENABLED);
/* if (DEDUPLICATION_ENABLED) {
// Check that the Deduplicator element is present in the
// OrderXMl and enabled. If missing or disabled log a warning
if (!doc.IsDeduplicationEnabled()) {
log.warn("Unable to perform deduplication for this job as the required DeDuplicator element is "
+ "disabled or missing from template");
}
} else {
// Remove deduplicator Element from OrderXML if present
doc.removeDeduplicatorIfPresent();
job.setOrderXMLDoc(doc);
log.info("Removed DeDuplicator element because Deduplication is disabled");
}*/
}

/**
Expand Down

0 comments on commit 7b942ec

Please sign in to comment.