Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs
===================================================================
diff -u -r1f2e8750b43af706757de6251ce5b6ac2dabea29 -rf1fa2338dda2747f6bb70e82b4527f7b5f1708bf
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs (.../GrassCoverErosionInwardsDataSynchronizationService.cs) (revision 1f2e8750b43af706757de6251ce5b6ac2dabea29)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs (.../GrassCoverErosionInwardsDataSynchronizationService.cs) (revision f1fa2338dda2747f6bb70e82b4527f7b5f1708bf)
@@ -76,35 +76,8 @@
calculation.Output = null;
}
-
+
///
- /// Clears the for all the calculations in
- /// the .
- ///
- /// The
- /// which contains the calculations.
- /// An of calculations which are affected by
- /// removing .
- /// Thrown when
- /// is null.
- public static IEnumerable ClearHydraulicBoundaryLocations(GrassCoverErosionInwardsFailureMechanism failureMechanism)
- {
- if (failureMechanism == null)
- {
- throw new ArgumentNullException("failureMechanism");
- }
-
- var affectedItems = failureMechanism.Calculations
- .Cast()
- .Where(c => c.InputParameters.HydraulicBoundaryLocation != null)
- .ToArray();
-
- affectedItems.ForEachElementDo(ClearHydraulicBoundaryLocation);
-
- return affectedItems;
- }
-
- ///
/// Clears the and output for all the calculations
/// in the .
///