Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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)

...