diff --git a/src/main/java/com/threerings/getdown/data/Application.java b/src/main/java/com/threerings/getdown/data/Application.java index 56a86e7..4a673ac 100644 --- a/src/main/java/com/threerings/getdown/data/Application.java +++ b/src/main/java/com/threerings/getdown/data/Application.java @@ -302,9 +302,10 @@ public class Application } /** - * Returns a list of all the {@link Resource} objects used by this application. + * Returns a list of all the active {@link Resource} objects used by this application (code and + * non-code). */ - public List getAllResources () + public List getAllActiveResources () { List allResources = new ArrayList(); allResources.addAll(getActiveCodeResources()); @@ -1208,7 +1209,7 @@ public class Application ProgressObserver obs, int[] alreadyValid, Set unpacked) throws InterruptedException { - List rsrcs = getAllResources(); + List rsrcs = getAllActiveResources(); List failures = new ArrayList(); // total up the file size of the resources to validate @@ -1301,7 +1302,7 @@ public class Application */ public void clearValidationMarkers () { - clearValidationMarkers(getAllResources().iterator()); + clearValidationMarkers(getAllActiveResources().iterator()); } /** diff --git a/src/main/java/com/threerings/getdown/launcher/Getdown.java b/src/main/java/com/threerings/getdown/launcher/Getdown.java index 747ed86..5b613da 100644 --- a/src/main/java/com/threerings/getdown/launcher/Getdown.java +++ b/src/main/java/com/threerings/getdown/launcher/Getdown.java @@ -508,7 +508,7 @@ public abstract class Getdown extends Thread reportTrackingEvent("app_start", -1); // redownload any that are corrupt or invalid... - log.info(failures.size() + " of " + _app.getAllResources().size() + + log.info(failures.size() + " of " + _app.getAllActiveResources().size() + " rsrcs require update (" + alreadyValid[0] + " assumed valid)."); setStep(Step.REDOWNLOAD_RESOURCES); download(failures);