Changeset 14136


Ignore:
Timestamp:
07/21/16 04:53:59 (15 months ago)
Author:
abeham
Message:

#2281:

  • made setter more robust and removed redundant null check
  • I had a backwards compatibility problem with previously stored files, resultCollectionName could never be set if it was null to begin with
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/Results/ResultParameter.cs

    r14100 r14136  
    4040      get { return resultCollectionName; }
    4141      set {
    42         if (value == null) throw new ArgumentNullException();
    4342        if (string.IsNullOrWhiteSpace(value)) throw new ArgumentNullException();
    44         else if (!resultCollectionName.Equals(value)) {
     43        else if (!value.Equals(resultCollectionName)) {
    4544          resultCollectionName = value;
    4645          OnResultCollectionNameChanged();
Note: See TracChangeset for help on using the changeset viewer.