mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-27 08:05:46 +00:00
* FrontierSummaryReport.java
allow report even on empty frontier (as at pasue-at-end)
This commit is contained in:
@@ -35,8 +35,8 @@ public class FrontierSummaryReport extends Report {
|
||||
public void write(PrintWriter writer) {
|
||||
if(!stats.controller.getFrontier().isRunning()) {
|
||||
writer.println("frontier unstarted");
|
||||
} else if (stats.controller.getFrontier().isEmpty()) {
|
||||
writer.println("frontier empty");
|
||||
// } else if (stats.controller.getFrontier().isEmpty()) {
|
||||
// writer.println("frontier empty");
|
||||
} else {
|
||||
stats.controller.getFrontier().reportTo(
|
||||
WorkQueueFrontier.STANDARD_REPORT, writer);
|
||||
|
||||
Reference in New Issue
Block a user