Index: Ringtoets/Common/src/Ringtoets.Common.Service/HydraulicBoundaryLocationCalculationService.cs =================================================================== diff -u -rce190360da30edf73fb464cc0fea1d9a795aa5d4 -r2973c5f790a5131e427bd5f73e2a620044199639 --- Ringtoets/Common/src/Ringtoets.Common.Service/HydraulicBoundaryLocationCalculationService.cs (.../HydraulicBoundaryLocationCalculationService.cs) (revision ce190360da30edf73fb464cc0fea1d9a795aa5d4) +++ Ringtoets/Common/src/Ringtoets.Common.Service/HydraulicBoundaryLocationCalculationService.cs (.../HydraulicBoundaryLocationCalculationService.cs) (revision 2973c5f790a5131e427bd5f73e2a620044199639) @@ -37,7 +37,7 @@ /// Abstract service that provides methods for performing Hydra-Ring calculations for hydraulic boundary locations. /// /// The input type of the calculation. - public abstract class HydraulicBoundaryLocationCalculationService : IHydraulicBoundaryLocationCalculationService + public abstract class HydraulicBoundaryLocationCalculationService : IHydraulicBoundaryLocationCalculationService where T : HydraRingCalculationInput { private static readonly ILog log = LogManager.GetLogger(typeof(HydraulicBoundaryLocationCalculationService)); @@ -87,20 +87,20 @@ return reliabilityIndexCalculationParser.Output; } - private static void VerifyOutput(ReliabilityIndexCalculationOutput output, ICalculationMessageProvider messageProvider, string locationName) - { - if (output == null) - { - log.Error(messageProvider.GetCalculationFailedMessage(locationName)); - } - } - /// /// Creates the input for the calculation. /// /// The hydraulic boundary location to create the input for. /// The norm which is needed in the input. /// The created Input. protected abstract T CreateInput(HydraulicBoundaryLocation hydraulicBoundaryLocation, double norm); + + private static void VerifyOutput(ReliabilityIndexCalculationOutput output, ICalculationMessageProvider messageProvider, string locationName) + { + if (output == null) + { + log.Error(messageProvider.GetCalculationFailedMessage(locationName)); + } + } } } \ No newline at end of file