Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/HydraulicBoundaryLocationCalculationBaseProperties.cs =================================================================== diff -u -rf937806272bc4ed4d04ab0de94937057649b9fe6 -r6cd7ed9865da9f211a6e1e3cd4a0ac86b321eef0 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/HydraulicBoundaryLocationCalculationBaseProperties.cs (.../HydraulicBoundaryLocationCalculationBaseProperties.cs) (revision f937806272bc4ed4d04ab0de94937057649b9fe6) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/HydraulicBoundaryLocationCalculationBaseProperties.cs (.../HydraulicBoundaryLocationCalculationBaseProperties.cs) (revision 6cd7ed9865da9f211a6e1e3cd4a0ac86b321eef0) @@ -45,7 +45,7 @@ /// /// Creates a new instance of . /// - /// The hydraulic boundary location calculation. + /// The hydraulic boundary location calculation to create the properties for. /// Thrown when is null. protected HydraulicBoundaryLocationCalculationBaseProperties(HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation) { @@ -229,12 +229,7 @@ private GeneralResult GetGeneralResult() { - if (data.HasOutput && data.Output.HasGeneralResult) - { - return data.Output.GeneralResult; - } - - return null; + return data?.Output?.GeneralResult; } } } \ No newline at end of file