Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/24/11 13:13:45 (13 years ago)
Author:
mkommend
Message:

#1624: Minor code quality fix in Constraint.

File:
1 edited

Legend:

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

    r5445 r6681  
    4848    protected Constraint() {
    4949      this.Active = false;
    50       if (AllowedConstraintOperations != null && AllowedConstraintOperations.Count() != 0)
     50      if (AllowedConstraintOperations != null && AllowedConstraintOperations.Any())
    5151        this.ConstraintOperation = AllowedConstraintOperations.ElementAt(0);
    5252    }
Note: See TracChangeset for help on using the changeset viewer.