From 12aa92ce0068203bb3ff493ca72f0bc263ea591f Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Mon, 12 Aug 2013 16:15:16 -0400 Subject: [PATCH] Comment. --- core/src/main/java/hudson/model/View.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/hudson/model/View.java b/core/src/main/java/hudson/model/View.java index b7f31f1dac..2944ea9946 100644 --- a/core/src/main/java/hudson/model/View.java +++ b/core/src/main/java/hudson/model/View.java @@ -830,6 +830,8 @@ public abstract class View extends AbstractModelObject implements AccessControll } // TODO consider also adding the user of the UserCause when applicable buildCount++; + // TODO this defeats lazy-loading. Should rather do a breadth-first search, as in hudson.plugins.view.dashboard.builds.LatestBuilds + // (though currently there is no quick implementation of RunMap.size() ~ idOnDisk.size(), which would be needed for proper progress) progress((itemCount + 1.0 * buildCount / builds.size()) / (items.size() + 1)); } }