Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8109


Ignore:
Timestamp:
06/25/12 20:16:37 (12 years ago)
Author:
jkarder
Message:

#1722: fixed creation and parsing of the resource string in the Hive Job Manager

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r8090 r8109  
    154154        this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded;
    155155
    156         this.isPrivilegedCheckBox.Enabled = Content.IsAllowedPrivileged && Content.IsControllable && !(Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this       
     156        this.isPrivilegedCheckBox.Enabled = Content.IsAllowedPrivileged && Content.IsControllable && !(Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this
    157157        this.refreshAutomaticallyCheckBox.Enabled = Content.IsControllable && alreadyUploaded && jobsLoaded && Content.ExecutionState == ExecutionState.Started;
    158158        this.refreshButton.Enabled = Content.IsDownloadable && alreadyUploaded;
     
    342342        foreach (Resource resource in hiveResourceSelectorDialog.GetSelectedResources()) {
    343343          sb.Append(resource.Name);
    344           sb.Append("; ");
     344          sb.Append(";");
    345345        }
    346346        resourceNamesTextBox.Text = sb.ToString();
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs

    r7582 r8109  
    493493    private static IEnumerable<string> ToResourceNameList(string resourceNames) {
    494494      if (!string.IsNullOrEmpty(resourceNames)) {
    495         return resourceNames.Split(';');
     495        return resourceNames.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
    496496      } else {
    497497        return new List<string>();
Note: See TracChangeset for help on using the changeset viewer.