Index: Riskeer/Integration/src/Riskeer.Integration.IO/Handlers/IHydraulicBoundaryDataUpdateHandler.cs
===================================================================
diff -u -r904828e9ff05079392f92097fbaf35b7baf3f7ca -r4aff98e3e603140a94d763fda332fab9eb00303b
--- Riskeer/Integration/src/Riskeer.Integration.IO/Handlers/IHydraulicBoundaryDataUpdateHandler.cs (.../IHydraulicBoundaryDataUpdateHandler.cs) (revision 904828e9ff05079392f92097fbaf35b7baf3f7ca)
+++ Riskeer/Integration/src/Riskeer.Integration.IO/Handlers/IHydraulicBoundaryDataUpdateHandler.cs (.../IHydraulicBoundaryDataUpdateHandler.cs) (revision 4aff98e3e603140a94d763fda332fab9eb00303b)
@@ -44,7 +44,6 @@
/// update with.
/// The location ids that should be excluded.
/// The file path of the hydraulic boundary database.
- /// The file path of the hydraulic location configuration database.
/// All objects that have been affected by the update.
/// Thrown when any parameter is null.
/// Thrown when the cannot be updated with
@@ -53,8 +52,7 @@
ReadHydraulicBoundaryDatabase readHydraulicBoundaryDatabase,
ReadHydraulicLocationConfigurationDatabase readHydraulicLocationConfigurationDatabase,
IEnumerable excludedLocationIds,
- string hrdFilePath,
- string hlcdFilePath);
+ string hrdFilePath);
///
/// Perform post-update actions.
Index: Riskeer/Integration/src/Riskeer.Integration.Plugin/Handlers/HydraulicBoundaryDataUpdateHandler.cs
===================================================================
diff -u -r904828e9ff05079392f92097fbaf35b7baf3f7ca -r4aff98e3e603140a94d763fda332fab9eb00303b
--- Riskeer/Integration/src/Riskeer.Integration.Plugin/Handlers/HydraulicBoundaryDataUpdateHandler.cs (.../HydraulicBoundaryDataUpdateHandler.cs) (revision 904828e9ff05079392f92097fbaf35b7baf3f7ca)
+++ Riskeer/Integration/src/Riskeer.Integration.Plugin/Handlers/HydraulicBoundaryDataUpdateHandler.cs (.../HydraulicBoundaryDataUpdateHandler.cs) (revision 4aff98e3e603140a94d763fda332fab9eb00303b)
@@ -22,7 +22,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using System.Windows.Forms;
using Core.Common.Base;
using Riskeer.Common.Data.Hydraulics;
using Riskeer.DuneErosion.Plugin.Handlers;
@@ -31,7 +30,6 @@
using Riskeer.Integration.Data;
using Riskeer.Integration.IO.Handlers;
using Riskeer.Integration.Plugin.Helpers;
-using Riskeer.Integration.Plugin.Properties;
using Riskeer.Integration.Service;
using CoreCommonBaseResources = Core.Common.Base.Properties.Resources;
@@ -71,7 +69,7 @@
public IEnumerable Update(HydraulicBoundaryData hydraulicBoundaryData, ReadHydraulicBoundaryDatabase readHydraulicBoundaryDatabase,
ReadHydraulicLocationConfigurationDatabase readHydraulicLocationConfigurationDatabase,
- IEnumerable excludedLocationIds, string hrdFilePath, string hlcdFilePath)
+ IEnumerable excludedLocationIds, string hrdFilePath)
{
if (hydraulicBoundaryData == null)
{
@@ -98,11 +96,6 @@
throw new ArgumentNullException(nameof(hrdFilePath));
}
- if (hlcdFilePath == null)
- {
- throw new ArgumentNullException(nameof(hlcdFilePath));
- }
-
if (!IsValidReadHydraulicLocationConfigurationDatabase(readHydraulicLocationConfigurationDatabase))
{
string errorMessage = $"{nameof(readHydraulicLocationConfigurationDatabase)} must be null or contain exactly one item for " +
@@ -141,7 +134,7 @@
HydraulicLocationConfigurationDatabaseUpdateHelper.UpdateHydraulicLocationConfigurationDatabase(
hydraulicBoundaryData.HydraulicLocationConfigurationDatabase,
readHydraulicLocationConfigurationDatabase.ReadHydraulicLocationConfigurationSettings?.Single(),
- hlcdFilePath);
+ hydraulicBoundaryData.HydraulicLocationConfigurationDatabase.FilePath);
return changedObjects;
}