Detector: | MuDetectOPAL_180330_1 |
Target: | project 'synthetic' version wait-loop |
Misuse: | misuse 'wait-loop' |
Details about the known misuse from the MUBench dataset.
Description: | Object.wait() should be called in a loop that iteratively checks the condition waited for. |
Fix Description: | Check condition in a loop. |
Violation Types: |
|
In File: | WaitMisuse.java |
In Method: | misuse(Target) |
Code with Misuse: |
|
Code with Pattern(s): |
|