Free cookie consent management tool by TermsFeed Policy Generator

Changeset 383


Ignore:
Timestamp:
07/12/08 11:46:21 (16 years ago)
Author:
gkronber
Message:

changed code to remove compiler warnings

Location:
trunk/sources
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Core/AgentList.cs

    r377 r383  
    3333namespace HeuristicLab.CEDMA.Core {
    3434  public class AgentList : ItemBase, IAgentList {
    35     private string serverUri;
    3635    private List<IAgent> agentList;
    3736    private IDatabase database;
  • trunk/sources/HeuristicLab.CEDMA.Core/AgentListView.cs

    r377 r383  
    3131namespace HeuristicLab.CEDMA.Core {
    3232  public partial class AgentListView : ViewBase {
    33     private ChooseItemDialog chooseItemDialog;
    34 
    3533    public IAgentList AgentList {
    3634      get { return (IAgentList)Item; }
  • trunk/sources/HeuristicLab.CEDMA.Core/Console.cs

    r377 r383  
    5353    }
    5454
    55     public IView CreateView() {
     55    public override IView CreateView() {
    5656      return new ConsoleEditor(this);
    5757    }
  • trunk/sources/HeuristicLab.CEDMA.Core/IAgent.cs

    r377 r383  
    3232    ProcessStatus Status { get; }
    3333    IOperatorGraph OperatorGraph { get; }
    34     void Save();
    3534    void Activate();
    3635  }
  • trunk/sources/HeuristicLab.DistributedEngine/DistributedEngine.cs

    r299 r383  
    3737  public class DistributedEngine : EngineBase, IEditable {
    3838    private JobManager jobManager;
    39     private CompositeOperation waitingOperations;
    4039    private string serverAddress;
    4140    public string ServerAddress {
  • trunk/sources/HeuristicLab.Grid/ClientForm.cs

    r252 r383  
    111111        try {
    112112          gotEngine = engineStore.TryTakeEngine(out currentGuid, out engineXml);
    113         } catch(TimeoutException timeoutException) {
     113        } catch(TimeoutException) {
    114114          currentEngine = null;
    115115          currentGuid = Guid.Empty;
     
    117117          fetchOperationTimer.Interval = 5000;
    118118          fetchOperationTimer.Start();
    119         } catch(CommunicationException communicationException) {
     119        } catch(CommunicationException) {
    120120          // connection problem -> reset connection and start the timer again
    121121          ResetConnection();
     
    155155              engineStore.StoreResult(currentGuid, resultXml);
    156156              success = true;
    157             } catch(TimeoutException timeoutException) {
     157            } catch(TimeoutException) {
    158158              success = false;
    159159              retries++;
    160160              Thread.Sleep(TimeSpan.FromSeconds(CONNECTION_RETRY_TIMEOUT_SEC));
    161             } catch(CommunicationException communicationException) {
     161            } catch(CommunicationException) {
    162162              ResetConnection();
    163163              success = false;
  • trunk/sources/HeuristicLab.Grid/JobManager.cs

    r379 r383  
    189189          }
    190190          return;
    191         } catch(TimeoutException timeoutException) {
    192           retries++;
    193           Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
    194         } catch(CommunicationException communicationException) {
     191        } catch(TimeoutException) {
     192          retries++;
     193          Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
     194        } catch(CommunicationException) {
    195195          ResetConnection();
    196196          retries++;
     
    208208            return zippedResult;
    209209          }
    210         } catch(TimeoutException timeoutException) {
    211           retries++;
    212           Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
    213         } catch(CommunicationException communicationException) {
     210        } catch(TimeoutException) {
     211          retries++;
     212          Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
     213        } catch(CommunicationException) {
    214214          ResetConnection();
    215215          retries++;
     
    229229            return jobState;
    230230          }
    231         } catch(TimeoutException timeoutException) {
    232           retries++;
    233           Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
    234         } catch(CommunicationException communicationException) {
     231        } catch(TimeoutException) {
     232          retries++;
     233          Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
     234        } catch(CommunicationException) {
    235235          ResetConnection();
    236236          retries++;
  • trunk/sources/HeuristicLab.Grid/ProcessingEngine.cs

    r268 r383  
    6363        try {
    6464          next = atomicOperation.Operator.Execute(atomicOperation.Scope);
    65         } catch(Exception ex) {
     65        } catch(Exception) {
    6666          // push operation on stack again
    6767          myExecutionStack.Push(atomicOperation);
  • trunk/sources/HeuristicLab.PluginInfrastructure.GUI/PluginAction.cs

    r8 r383  
    6565          // this method is not defined for actions other than "Install" and "Remove"
    6666          throw new InvalidOperationException();
    67           return "";
    6867      }
    6968    }
Note: See TracChangeset for help on using the changeset viewer.