Digital PCT265 story PCT-135: Code review of headerH2TwoRows double body2 replace check.
This commit is contained in:
parent
6d8f8bd298
commit
5660a3273f
@ -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) {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user