- Timestamp:
- 11/14/11 22:44:16 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/JobData.cs
r6976 r6994 29 29 protected TaskData(TaskData original, Cloner cloner) { 30 30 cloner.RegisterClonedObject(original, this); 31 if (original.Data != null) this.Data = new byte[original.Data.Length]; Array.Copy(original.Data, this.Data, original.Data.Length); 31 if (original.Data != null) { 32 this.Data = new byte[original.Data.Length]; 33 Array.Copy(original.Data, this.Data, original.Data.Length); 34 } 32 35 this.LastUpdate = original.LastUpdate; 33 36 } -
trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/PluginData.cs
r6976 r6994 31 31 protected PluginData(PluginData original, Cloner cloner) 32 32 : base(original, cloner) { 33 if (original.Data != null) 33 if (original.Data != null) { 34 34 this.Data = new byte[original.Data.Length]; 35 Array.Copy(original.Data, this.Data, original.Data.Length); 35 Array.Copy(original.Data, this.Data, original.Data.Length); 36 } 36 37 this.FileName = original.FileName; 37 38 this.PluginId = original.PluginId; -
trunk/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/Task.cs
r6976 r6994 34 34 this.CoresNeeded = original.CoresNeeded; 35 35 this.MemoryNeeded = original.MemoryNeeded; 36 this.PluginsNeededIds = new List<Guid>(original.PluginsNeededIds); 36 if (original.PluginsNeededIds != null) { 37 this.PluginsNeededIds = new List<Guid>(original.PluginsNeededIds); 38 } 37 39 this.LastHeartbeat = original.LastHeartbeat; 38 40 this.IsParentTask = original.IsParentTask;
Note: See TracChangeset
for help on using the changeset viewer.