Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/06/11 18:54:38 (13 years ago)
Author:
ascheibe
Message:

#1233 changed year to 2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Job.cs

    r6267 r6372  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2929    public Job() { }
    3030
    31     protected Job(Job original, Cloner cloner) : base(original, cloner) {
     31    protected Job(Job original, Cloner cloner)
     32      : base(original, cloner) {
    3233      this.Priority = original.Priority;
    3334      this.CoresNeeded = original.CoresNeeded;
     
    4647
    4748    public override string ToString() {
    48       return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, CoresNeeded: {3}, MemoryNeeded: {4}", 
    49         State, 
    50         CurrentStateLog != null ? (CurrentStateLog.SlaveId.HasValue ? CurrentStateLog.SlaveId.Value.ToString() : string.Empty) : string.Empty, 
    51         DateCreated.HasValue ? DateCreated.ToString() : string.Empty, 
    52         CoresNeeded, 
     49      return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, CoresNeeded: {3}, MemoryNeeded: {4}",
     50        State,
     51        CurrentStateLog != null ? (CurrentStateLog.SlaveId.HasValue ? CurrentStateLog.SlaveId.Value.ToString() : string.Empty) : string.Empty,
     52        DateCreated.HasValue ? DateCreated.ToString() : string.Empty,
     53        CoresNeeded,
    5354        MemoryNeeded);
    5455    }
Note: See TracChangeset for help on using the changeset viewer.