Digital PCT265 story PCT-135: Code review of headerH2TwoRows double body2 replace check.

This commit is contained in:
Hedden, Kyle Matthew 2024-05-29 17:28:51 -04:00
parent 6d8f8bd298
commit 5660a3273f
2 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,6 @@ public class HeadersH2PricingTwoRowsModel: HeaderModel, MoleculeModelProtocol, P
|| replaceChildMolecule(at: &body, with: molecule, replaced: &replacedMolecule)
|| replaceChildMolecule(at: &subBody, with: molecule, replaced: &replacedMolecule)
|| replaceChildMolecule(at: &body2, with: molecule, replaced: &replacedMolecule)
|| replaceChildMolecule(at: &body2, with: molecule, replaced: &replacedMolecule)
|| replaceChildMolecule(at: &subBody2, with: molecule, replaced: &replacedMolecule)
|| replaceChildMolecule(at: &body3, with: molecule, replaced: &replacedMolecule)
|| replaceChildMolecule(at: &subBody3, with: molecule, replaced: &replacedMolecule) {

View File

@ -37,7 +37,7 @@ public extension MoleculeModelComparisonProtocol where Self: ParentModelProtocol
public extension Optional {
/// Checks if the curent model is equal to another model.
/// Checks if the current model is equal to another model.
func isVisuallyEquivalent(to model: MoleculeModelComparisonProtocol?) -> Bool {
guard let self = self as? MoleculeModelComparisonProtocol else {
return model == nil