Changeset 13800


Ignore:
Timestamp:
04/27/16 10:41:10 (3 years ago)
Author:
bburlacu
Message:

#2600: Fix setter of arc label property.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Collections/DirectedGraph/Arc.cs

    r12012 r13800  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3939      get { return label; }
    4040      set {
    41         if (label.Equals(value)) return;
     41        if (label == value) return;
    4242        label = value;
    4343        OnChanged(this, EventArgs.Empty);
     
    8383
    8484  [StorableClass]
    85   public class Arc<T> : Arc, IArc<T> where T : class,IDeepCloneable {
     85  public class Arc<T> : Arc, IArc<T> where T : class, IDeepCloneable {
    8686    [Storable]
    8787    protected T data;
Note: See TracChangeset for help on using the changeset viewer.