Refactor2-example This is the code example from the book: Refactoring: Improving the Design of Existing Code Second Edition.