Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/Segment2D.cs =================================================================== diff -u -r602479eb3666493485aee246d56b08958a6fc958 -r069921ae1e06e13d8e5e19dd9caa5e8f7b9e1f35 --- Ringtoets/Piping/src/Ringtoets.Piping.Data/Segment2D.cs (.../Segment2D.cs) (revision 602479eb3666493485aee246d56b08958a6fc958) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/Segment2D.cs (.../Segment2D.cs) (revision 069921ae1e06e13d8e5e19dd9caa5e8f7b9e1f35) @@ -14,6 +14,8 @@ /// /// The first of the . /// The second of the . + /// Thrown when either the or + /// point is null. public Segment2D(Point2D first, Point2D second) { if (first == null || second == null) @@ -100,7 +102,7 @@ } } - protected bool Equals(Segment2D other) + private bool Equals(Segment2D other) { return FirstPoint.Equals(other.FirstPoint) && SecondPoint.Equals(other.SecondPoint) || FirstPoint.Equals(other.SecondPoint) && SecondPoint.Equals(other.FirstPoint);