Index: Ringtoets/Common/src/Ringtoets.Common.IO/Writers/SchemaCalculationConfigurationWriter.cs
===================================================================
diff -u -r81c1b17e17635cfe4035c98b3cea224d048a63d6 -reeac9fe0e250075e6e95683e4781b7b96ddc178c
--- Ringtoets/Common/src/Ringtoets.Common.IO/Writers/SchemaCalculationConfigurationWriter.cs (.../SchemaCalculationConfigurationWriter.cs) (revision 81c1b17e17635cfe4035c98b3cea224d048a63d6)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/Writers/SchemaCalculationConfigurationWriter.cs (.../SchemaCalculationConfigurationWriter.cs) (revision eeac9fe0e250075e6e95683e4781b7b96ddc178c)
@@ -109,7 +109,7 @@
/// The configuration for the distribution that can be null.
/// Thrown when or
/// is null.
- protected static void WriteDistributionWhenAvailable(XmlWriter writer, string distributionName, MeanVariationCoefficientStochastConfiguration configuration)
+ protected static void WriteDistributionWhenAvailable(XmlWriter writer, string distributionName, StochastConfiguration configuration)
{
if (writer == null)
{
@@ -127,31 +127,6 @@
}
///
- /// Writes a distribution configuration when it has a value.
- ///
- /// The writer to use for writing.
- /// The name of the distribution.
- /// The configuration for the distribution that can be null.
- /// Thrown when or
- /// is null.
- protected static void WriteDistributionWhenAvailable(XmlWriter writer, string distributionName, MeanStandardDeviationStochastConfiguration configuration)
- {
- if (writer == null)
- {
- throw new ArgumentNullException(nameof(writer));
- }
- if (distributionName == null)
- {
- throw new ArgumentNullException(nameof(distributionName));
- }
-
- if (configuration != null)
- {
- writer.WriteDistribution(distributionName, configuration);
- }
- }
-
- ///
/// Writes an element with some content when the content has a value.
///
/// The writer to use for writing.