Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneErosionDataSynchronizationService.cs =================================================================== diff -u -r35cdb63312e00d641feb421d02e99b08b087938f -rd18c49efb0d6e0b49fb9a54daf3589d6069a62b1 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneErosionDataSynchronizationService.cs (.../DuneErosionDataSynchronizationService.cs) (revision 35cdb63312e00d641feb421d02e99b08b087938f) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneErosionDataSynchronizationService.cs (.../DuneErosionDataSynchronizationService.cs) (revision d18c49efb0d6e0b49fb9a54daf3589d6069a62b1) @@ -58,12 +58,10 @@ { throw new ArgumentNullException(nameof(failureMechanism)); } - if (hydraulicBoundaryLocations == null) { throw new ArgumentNullException(nameof(hydraulicBoundaryLocations)); } - if (duneLocations == null) { throw new ArgumentNullException(nameof(duneLocations)); @@ -114,32 +112,6 @@ .ToArray(); } - /// - /// Clears the output of the dune location calculations within the collection. - /// - /// The calculations for which the output needs to be cleared. - /// All objects changed during the clear. - /// Thrown when is null. - public static IEnumerable ClearDuneCalculationsOutput(IEnumerable calculations) - { - if (calculations == null) - { - throw new ArgumentNullException(nameof(calculations)); - } - - var affectedCalculations = new List(); - foreach (DuneLocationCalculation calculation in calculations) - { - if (calculation.Output != null) - { - calculation.Output = null; - affectedCalculations.Add(calculation); - } - } - - return affectedCalculations; - } - private static bool DoesHydraulicBoundaryLocationMatchWithDuneLocation(HydraulicBoundaryLocation hydraulicBoundaryLocation, ReadDuneLocation readDuneLocation) {