Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor, for now

...

Static analysis tools, such as FindBugs and PMD, do not detect problems with the noncomplient noncompliant solutions shown above without some "hint" that the program code is intended to be thread-safe. For example, consider the complient compliant code below where the use of a synchronized method is a hint to the analysis tool that the class is intended to be used concurrently.

...