Versions Compared

Key

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

...

This ensures that threads do not see a compromised Publisher instance. The num variable is also declared as { final; consequently, the class is immutable.

Noncompliant Code Example (handlers)

...