class AppDownloadExecutor extends DownloadExecutor<App> {
public AppDownloadExecutor(String name) {
super(name);
}
@Override
<BUG>protected void add(App app) {
this.add(getResource(app));
}
@Override
protected DownloadResource getResource(App app) {

return new DownloadResource(app.url, app.name + ".apk");
}</BUG>
@Override

class AppDownloadExecutor extends DownloadExecutor<App> {
public AppDownloadExecutor(String name) {
super(name);
}
@Override
protected DownloadResource getDownloadResource(App app) {
DownloadResource downloadResource=new DownloadResource(this.getDownloadDir().getAbsolutePath(),app.url, app.name + ".apk");
FileUtils.delete(downloadResource.getConfFile());
FileUtils.delete(downloadResource.getSourceFile());
return downloadResource;
}
@Override
