Removing a redundant method