Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Service/HeightStructuresDataSynchronizationService.cs
===================================================================
diff -u -r183d1e7ed095ea4e8024068bc4ddfcf3ac6997d3 -rf1fa2338dda2747f6bb70e82b4527f7b5f1708bf
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Service/HeightStructuresDataSynchronizationService.cs (.../HeightStructuresDataSynchronizationService.cs) (revision 183d1e7ed095ea4e8024068bc4ddfcf3ac6997d3)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Service/HeightStructuresDataSynchronizationService.cs (.../HeightStructuresDataSynchronizationService.cs) (revision f1fa2338dda2747f6bb70e82b4527f7b5f1708bf)
@@ -60,35 +60,8 @@
return affectedItems;
}
-
+
///
- /// 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(HeightStructuresFailureMechanism 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 .
///