Merge branch 'idea90' of git.labs.intellij.net:idea/community into idea90
[fedora-idea.git] / plugins / groovy / resources / inspectionDescriptions / GroovyUnconditionalWait.html
blob9480cc138a16ec222723c4f0ef8024891ab71e67
1 <html>
2 <body>
3 <table>
4 <tr>
5 <td valign="top" height="150">
6 <font face="verdana" size="-1">
7 This inspection reports any instances of <b><font color="#000080">.wait()</font></b>
8 being called unconditionally within a synchronized context in Groovy code.
9 Normally, <b><font color="#000080">.wait()</font></b> is
10 used to block a thread until some condition is true. If <b><font color="#000080">.wait()</font></b>
11 is called unconditionally, that often indicates that the condition was checked before a lock was
12 acquired. In that case a data race may occur, with the condition becoming true between the time
13 it was checked and the time the lock was acquired. While constructs found by this inspection
14 are not necessarily incorrect, they are certainly worth examining.
15 </font></td>
16 </tr>
17 <tr>
18 <td height="20"><font face="verdana" size="-2">Powered by InspectorGroovy </font></td>
19 </tr>
20 </table>
21 </body>
22 </html>