Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Serializers/DataCollectionSerializer.cs
===================================================================
diff -u -r05013c44d1273bac219a442dc7959706c6bac715 -rf6506495b1779b035fa6a39d8ab52f7420ceca7a
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Serializers/DataCollectionSerializer.cs (.../DataCollectionSerializer.cs) (revision 05013c44d1273bac219a442dc7959706c6bac715)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Serializers/DataCollectionSerializer.cs (.../DataCollectionSerializer.cs) (revision f6506495b1779b035fa6a39d8ab52f7420ceca7a)
@@ -88,10 +88,10 @@
streamWriter.Flush();
stream.Seek(0, SeekOrigin.Begin);
- using (var writer = XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max))
+ using (var reader = XmlDictionaryReader.CreateTextReader(stream, XmlDictionaryReaderQuotas.Max))
{
var serializer = new DataContractSerializer(serializationRootType);
- return FromSerializableData((TSerializedData[]) serializer.ReadObject(writer));
+ return FromSerializableData((TSerializedData[]) serializer.ReadObject(reader));
}
}
}
Index: Core/Common/src/Core.Common.Base/Geometry/Math2D.cs
===================================================================
diff -u -re2719484be4a10aecf59be5a999943bb01688ec0 -rf6506495b1779b035fa6a39d8ab52f7420ceca7a
--- Core/Common/src/Core.Common.Base/Geometry/Math2D.cs (.../Math2D.cs) (revision e2719484be4a10aecf59be5a999943bb01688ec0)
+++ Core/Common/src/Core.Common.Base/Geometry/Math2D.cs (.../Math2D.cs) (revision f6506495b1779b035fa6a39d8ab52f7420ceca7a)
@@ -159,6 +159,8 @@
/// The first point.
/// The second point.
/// True when the points are equal. False otherwise.
+ /// Thrown when or
+ /// is null.
public static bool AreEqualPoints(Point2D point1, Point2D point2)
{
if (point1 == null)
@@ -181,6 +183,7 @@
/// The X-coordinate of the vertical line.
/// A of with all intersection points of the
/// with the vertical line at x=.
+ /// Thrown when is null.
/// Segments which have length=0 or which are vertical, will not return an intersection point.
public static IEnumerable SegmentsIntersectionWithVerticalLine(IEnumerable segments, double verticalLineX)
{
@@ -209,6 +212,7 @@
///
/// The points that make up a 2D line.
/// The sum of the distances between consecutive points.
+ /// Thrown when is null.
public static double Length(IEnumerable points)
{
if (points == null)
@@ -237,6 +241,8 @@
/// The first 2D segment.
/// The second 2D segment.
/// The intersection calculation result.
+ /// Thrown when or
+ /// is null.
/// Implementation from http://geomalgorithms.com/a05-_intersect-1.html
/// based on method intersect2D_2Segments.
public static Segment2DIntersectSegment2DResult GetIntersectionBetweenSegments(Segment2D segment1, Segment2D segment2)
@@ -301,6 +307,7 @@
/// The segment to interpolate over.
/// The fraction of the length of the segment where to obtain a new point.
/// A new at the interpolated point.
+ /// Thrown when is null.
public static Point2D GetInterpolatedPointAtFraction(Segment2D lineSegment, double fraction)
{
if (lineSegment == null)
Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs
===================================================================
diff -u -rbe66e1bec38a780abb27fedea8632acf4d24a173 -rf6506495b1779b035fa6a39d8ab52f7420ceca7a
--- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs (.../IAssessmentSection.cs) (revision be66e1bec38a780abb27fedea8632acf4d24a173)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs (.../IAssessmentSection.cs) (revision f6506495b1779b035fa6a39d8ab52f7420ceca7a)
@@ -34,7 +34,7 @@
public interface IAssessmentSection : ICommentable, IObservable, IStorable
{
///
- /// Gets or sets the identifier of the assessment section.
+ /// Gets the identifier of the assessment section.
///
string Id { get; }
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs
===================================================================
diff -u -r75fe077813084ef8a06b38bd149cf443acf73d27 -rf6506495b1779b035fa6a39d8ab52f7420ceca7a
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision 75fe077813084ef8a06b38bd149cf443acf73d27)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.cs (.../DesignWaterLevelLocationsView.cs) (revision f6506495b1779b035fa6a39d8ab52f7420ceca7a)
@@ -65,7 +65,7 @@
public IApplicationSelection ApplicationSelection { get; set; }
///
- /// Gets or sets the .
+ /// Sets the .
///
public IHydraulicBoundaryLocationCalculationCommandHandler CalculationCommandHandler { get; set; }