Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs =================================================================== diff -u -rb3bd3e50716cae539be438773246e2c8c32dafd8 -r1b32dabaee890a050a41c37eb5ddb7681b5d04a0 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision b3bd3e50716cae539be438773246e2c8c32dafd8) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision 1b32dabaee890a050a41c37eb5ddb7681b5d04a0) @@ -39,7 +39,6 @@ { private readonly Func getNormFunc; private readonly DesignWaterLevelCalculationMessageProvider messageProvider; - private readonly Func getCalculationFunc; /// /// Creates a new instance of . @@ -54,13 +53,8 @@ Func getCalculationFunc, IAssessmentSection assessmentSection, Func getNormFunc) - : base(locations, assessmentSection) + : base(locations, getCalculationFunc, assessmentSection) { - if (getCalculationFunc == null) - { - throw new ArgumentNullException(nameof(getCalculationFunc)); - } - if (getNormFunc == null) { throw new ArgumentNullException(nameof(getNormFunc)); @@ -70,7 +64,6 @@ messageProvider = new DesignWaterLevelCalculationMessageProvider(); - this.getCalculationFunc = getCalculationFunc; this.getNormFunc = getNormFunc; }