mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 02:04:23 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
16 lines
469 B
HTML
16 lines
469 B
HTML
<html>
|
|
<body>
|
|
Reports constant arguments in <code>assertTrue()</code>, <code>assertFalse()</code>,
|
|
<code>assertNull()</code>, and <code>assertNotNull()</code> calls.
|
|
<p>
|
|
Calls to these methods with
|
|
constant arguments will either always succeed or always fail.
|
|
Such statements can easily be left over after refactoring and are probably not intended.
|
|
</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
assertNotNull("foo");
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |