No need for a separate method.

This commit is contained in:
Michael Bayne
2018-12-17 11:22:53 -08:00
parent 3ef2d6908f
commit faa9d2422e
@@ -677,8 +677,10 @@ public abstract class Getdown extends Thread
setStep(Step.DOWNLOAD);
download(list);
// rename the patch files...
install(list);
// install the patch files (renaming them from _new)
for (Resource rsrc : list) {
rsrc.install(true);
}
// and apply them...
setStep(Step.PATCH);
@@ -713,17 +715,6 @@ public abstract class Getdown extends Thread
readConfig(false);
}
/**
* Installs resources
*/
private void install (List<Resource> resources)
throws IOException
{
for (Resource rsrc : resources) {
rsrc.install(true);
}
}
/**
* Called if the application is determined to require resource downloads.
*/