Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/HydraulicBoundaryCalculationsView.cs =================================================================== diff -u -r8560f7a7b53b45ad9d2d4afc6172ffdd05342082 -r86a422d2f0c29eebb2c1c1efdcb3540bde62de17 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/HydraulicBoundaryCalculationsView.cs (.../HydraulicBoundaryCalculationsView.cs) (revision 8560f7a7b53b45ad9d2d4afc6172ffdd05342082) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/HydraulicBoundaryCalculationsView.cs (.../HydraulicBoundaryCalculationsView.cs) (revision 86a422d2f0c29eebb2c1c1efdcb3540bde62de17) @@ -155,12 +155,7 @@ return Enumerable.Empty(); } - /// - /// Creates a new row that is added to the data table. - /// - /// The calculation for which to create a new row. - /// The newly created row. - private HydraulicBoundaryLocationCalculationRow CreateNewRow(HydraulicBoundaryLocationCalculation calculation) + private static HydraulicBoundaryLocationCalculationRow CreateNewRow(HydraulicBoundaryLocationCalculation calculation) { return new HydraulicBoundaryLocationCalculationRow(calculation); } Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/HydraulicBoundaryLocationCalculationRow.cs =================================================================== diff -u -r8560f7a7b53b45ad9d2d4afc6172ffdd05342082 -r86a422d2f0c29eebb2c1c1efdcb3540bde62de17 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/HydraulicBoundaryLocationCalculationRow.cs (.../HydraulicBoundaryLocationCalculationRow.cs) (revision 8560f7a7b53b45ad9d2d4afc6172ffdd05342082) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/HydraulicBoundaryLocationCalculationRow.cs (.../HydraulicBoundaryLocationCalculationRow.cs) (revision 86a422d2f0c29eebb2c1c1efdcb3540bde62de17) @@ -38,7 +38,7 @@ /// /// The for this row. /// Thrown when is null. - public HydraulicBoundaryLocationCalculationRow(HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation) + internal HydraulicBoundaryLocationCalculationRow(HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation) : base(hydraulicBoundaryLocationCalculation) {} /// Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationCalculationRowTest.cs =================================================================== diff -u -r8560f7a7b53b45ad9d2d4afc6172ffdd05342082 -r86a422d2f0c29eebb2c1c1efdcb3540bde62de17 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationCalculationRowTest.cs (.../HydraulicBoundaryLocationCalculationRowTest.cs) (revision 8560f7a7b53b45ad9d2d4afc6172ffdd05342082) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationCalculationRowTest.cs (.../HydraulicBoundaryLocationCalculationRowTest.cs) (revision 86a422d2f0c29eebb2c1c1efdcb3540bde62de17) @@ -55,8 +55,7 @@ Assert.AreEqual(id, row.Id); Assert.AreEqual(locationName, row.Name); - var expectedPoint2D = new Point2D(coordinateX, coordinateY); - Assert.AreEqual(expectedPoint2D, row.Location); + Assert.AreSame(hydraulicBoundaryLocation.Location, row.Location); TestHelper.AssertTypeConverter(nameof(HydraulicBoundaryLocationCalculationRow.Result)); Assert.IsNaN(row.Result);