Index: Ringtoets/Common/src/Ringtoets.Common.Utils/SectionSegmentsHelper.cs
===================================================================
diff -u -rb2f617ad0d8d6457422a569685763b9718740560 -r38600213ce6ca43c1819c81dd95c8ce786650ac3
--- Ringtoets/Common/src/Ringtoets.Common.Utils/SectionSegmentsHelper.cs (.../SectionSegmentsHelper.cs) (revision b2f617ad0d8d6457422a569685763b9718740560)
+++ Ringtoets/Common/src/Ringtoets.Common.Utils/SectionSegmentsHelper.cs (.../SectionSegmentsHelper.cs) (revision 38600213ce6ca43c1819c81dd95c8ce786650ac3)
@@ -33,19 +33,20 @@
public static class SectionSegmentsHelper
{
///
- /// Creates from an of .
+ /// Creates from an of .
///
- /// The of
+ /// The of
/// to create for.
/// An array of .
- /// Thrown when is null.
- public static SectionSegments[] MakeSectionSegments(IEnumerable sectionResults)
+ /// Thrown when is null or when
+ /// an element in is null.
+ public static SectionSegments[] MakeSectionSegments(IEnumerable sections)
{
- if (sectionResults == null)
+ if (sections == null)
{
- throw new ArgumentNullException("sectionResults");
+ throw new ArgumentNullException("sections");
}
- return sectionResults.Select(s => new SectionSegments(s)).ToArray();
+ return sections.Select(s => new SectionSegments(s)).ToArray();
}
///