Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Update/FailureMechanismSectionUpdateExtensions.cs =================================================================== diff -u -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 -rae6f0c6b534ca650e160ae6d9c0bc90369d25c68 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Update/FailureMechanismSectionUpdateExtensions.cs (.../FailureMechanismSectionUpdateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Update/FailureMechanismSectionUpdateExtensions.cs (.../FailureMechanismSectionUpdateExtensions.cs) (revision ae6f0c6b534ca650e160ae6d9c0bc90369d25c68) @@ -38,33 +38,33 @@ /// . /// /// The section to update the database entity for. - /// The object keeping track of update operations. + /// The object keeping track of update operations. /// The context to obtain the existing entity from. /// Thrown when either: /// - /// is null + /// is null /// is null /// - internal static void Update(this FailureMechanismSection section, PersistenceRegistry collector, IRingtoetsEntities context) + internal static void Update(this FailureMechanismSection section, PersistenceRegistry registry, IRingtoetsEntities context) { if (context == null) { throw new ArgumentNullException("context"); } - if (collector == null) + if (registry == null) { - throw new ArgumentNullException("collector"); + throw new ArgumentNullException("registry"); } - var entity = GetSingleFailureMechanismSection(section, context); + FailureMechanismSectionEntity entity = GetCorrespondingFailureMechanismSectionEntity(section, context); entity.Name = section.Name; UpdateGeometry(section, entity, context); - collector.Register(entity, section); + registry.Register(entity, section); } - private static FailureMechanismSectionEntity GetSingleFailureMechanismSection(FailureMechanismSection section, IRingtoetsEntities context) + private static FailureMechanismSectionEntity GetCorrespondingFailureMechanismSectionEntity(FailureMechanismSection section, IRingtoetsEntities context) { try {