No need for a separate method.
This commit is contained in:
@@ -676,9 +676,11 @@ public abstract class Getdown extends Thread
|
||||
// download the patch files...
|
||||
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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user