Versions Compared

Key

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

...

This does not mean that a subclass can only synchronize on the Class object of the base class and can safely use getClass().

Compliant Solution (1) (class name qualification)

...