...
This method fails to indicate whether it modified any node. A method can silently corrupt the state of the object if it provides little feedback about the actions it performedSuch methods are prone to misuse; as such a method is likely to modify data in an unexpected fashion.
Compliant Solution (boolean
)
...