blob: a335b75bfdc921e3301c23b5eea6eb2a6fff08bd [file]
<html>
<body>
Reports conditions that become redundant as they are completely covered by a subsequent condition.
For example, in the <code>value != -1 && value > 0</code> condition, the first part is redundant:
if it's false, then the second part is also false.
Or in a condition like <code>obj != null && obj instanceof String</code>,
the null-check is redundant as <code>instanceof</code> operator implies non-nullity.
<!-- tooltip end -->
<p><small>New in 2018.3</small></p>
</body>
</html>