Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs =================================================================== diff -u -rf1b30ca9c0be59c482dbc76b59815095efa81e51 -r1b32dabaee890a050a41c37eb5ddb7681b5d04a0 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs (.../WaveHeightLocationsView.cs) (revision f1b30ca9c0be59c482dbc76b59815095efa81e51) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs (.../WaveHeightLocationsView.cs) (revision 1b32dabaee890a050a41c37eb5ddb7681b5d04a0) @@ -39,7 +39,6 @@ { private readonly Func getNormFunc; private readonly WaveHeightCalculationMessageProvider 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 WaveHeightCalculationMessageProvider(); - this.getCalculationFunc = getCalculationFunc; this.getNormFunc = getNormFunc; }