Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/24/10 15:26:27 (14 years ago)
Author:
gkronber
Message:

Removed code fragments from class Scope which updated the SubScopes list when setting the parent property of a scope. ##1207

File:
1 edited

Legend:

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

    r4477 r4489  
    4242      set {
    4343        if (parent != value) {
    44           IScope oldParent = parent;
    45           parent = null;
    46           if (oldParent != null) oldParent.SubScopes.Remove(this);
    4744          parent = value;
    48           if ((parent != null) && !parent.SubScopes.Contains(this)) parent.SubScopes.Add(this);
    4945        }
    5046      }
Note: See TracChangeset for help on using the changeset viewer.