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); setStep(Step.DOWNLOAD);
download(list); download(list);
// rename the patch files... // install the patch files (renaming them from _new)
install(list); for (Resource rsrc : list) {
rsrc.install(true);
}
// and apply them... // and apply them...
setStep(Step.PATCH); setStep(Step.PATCH);
@@ -713,17 +715,6 @@ public abstract class Getdown extends Thread
readConfig(false); 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. * Called if the application is determined to require resource downloads.
*/ */