Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/20/08 11:08:04 (16 years ago)
Author:
gkronber
Message:

removed silly assertion statements (ticket #12)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/BaseClasses/PluginBase.cs

    r2 r8  
    4444
    4545      // exactly one attribute of the type ClassInfoAttribute must be given
    46       Trace.Assert(pluginAttributes.Length == 1);
     46      if(pluginAttributes.Length != 1) {
     47        throw new InvalidPluginException();
     48      }
    4749
    4850      // after the assertion we are sure that the array access will not fail
Note: See TracChangeset for help on using the changeset viewer.