Momento cannot rely on shallow copies
Closed this issue · 0 comments
willkill07 commented
The UMLConstructor is a shallow copy -- you need to adopt something like the Cloneable interface (cough Prototype Design Pattern cough) in order to have Memento work as written.