mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
14 lines
454 B
HTML
14 lines
454 B
HTML
<html>
|
|
<body>
|
|
Reports <code>assert</code> statements that cause side effects.
|
|
<p>
|
|
Since assertions can be switched off,
|
|
these side effects are not guaranteed, which can cause subtle bugs. Common unwanted side effects detected by this inspection are
|
|
modifications of variables and fields. When methods calls are involved, they are analyzed one level deep.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
assert i++ < 10;
|
|
</code></pre>
|
|
</body>
|
|
</html>
|