resources.report.rules.findbugs.ESync_EMPTY_SYNC.html Maven / Gradle / Ivy
ESync_EMPTY_SYNC
ESync: Empty synchronized block (ESync_EMPTY_SYNC)
The code contains an empty synchronized block:
synchronized() {}
Empty synchronized blocks are far more subtle and hard to use correctly
than most people recognize, and empty synchronized blocks
are almost never a better solution
than less contrived solutions.