Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/10 02:15:10 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on operators and SGA
  • improved performance
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/NamedItem.cs

    r2793 r2830  
    7474    /// </summary>
    7575    protected NamedItem() {
    76       name = ItemName;
    77       description = ItemDescription;
     76      name = string.Empty;
     77      description = string.Empty;
    7878    }
    7979    /// <summary>
     
    8383    /// <param name="name">The name of the current instance.</param>
    8484    /// <param name="value">The value of the current instance.</param>
    85     protected NamedItem(string name)
    86       : this() {
     85    protected NamedItem(string name) {
    8786      if (name == null) throw new ArgumentNullException();
    8887      this.name = name;
     88      description = string.Empty;
    8989    }
    90     protected NamedItem(string name, string description)
    91       : this(name) {
     90    protected NamedItem(string name, string description) {
     91      if (name == null) throw new ArgumentNullException();
     92      this.name = name;
    9293      this.description = description;
    9394    }
Note: See TracChangeset for help on using the changeset viewer.