...
The developer of the subclass was unaware of the implementation details of Calendar.after()
and incorrectly assumed that the superclass's after()
method would invoke only its own methods without invoking overriding methods from the subclass. Guideline Rule "MET04-J. Ensure that constructors do not call overridable methods" describes similar programming errors.
...