* FrontierSummaryReport.java

allow report even on empty frontier (as at pasue-at-end)
This commit is contained in:
gojomo
2009-11-07 03:02:09 +00:00
parent bda89f5617
commit 06c63ffc5b
@@ -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);