Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/12/11 18:04:25 (13 years ago)
Author:
ascheibe
Message:

#1233

  • fixed a bug in the Slave UI
  • finished renaming Webservice and Dao methods to be consistent with Job/Task naming
  • some cosmetic changes and project dependencies cleanups
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/TaskDownloader.cs

    r6725 r6743  
    7272   
    7373    public void StartAsync() {
    74       foreach (Guid jobId in taskIds) {
    75         Task job = ServiceLocator.Instance.CallHiveService(s => s.GetJob(jobId));
     74      foreach (Guid taskId in taskIds) {
     75        Task task = ServiceLocator.Instance.CallHiveService(s => s.GetTask(taskId));
    7676
    77         taskDownloader.DownloadJob(job,
     77        taskDownloader.DownloadTask(task,
    7878          (localJob, itemJob) => {
    7979            if (localJob != null && itemJob != null) {
    80               HiveTask hiveJob;
     80              HiveTask hiveTask;
    8181              if (itemJob is OptimizerTask) {
    82                 hiveJob = new OptimizerHiveTask((OptimizerTask)itemJob);
     82                hiveTask = new OptimizerHiveTask((OptimizerTask)itemJob);
    8383              } else {
    84                 hiveJob = new HiveTask(itemJob, true);
     84                hiveTask = new HiveTask(itemJob, true);
    8585              }
    86               hiveJob.Task = localJob;
    87               this.results.Add(localJob.Id, hiveJob);
     86              hiveTask.Task = localJob;
     87              this.results.Add(localJob.Id, hiveTask);
    8888            }
    8989          });
Note: See TracChangeset for help on using the changeset viewer.