Redundant if inspection supports now assignments and just if (...) true else false #KT-13259 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-11-21 16:12:59 +03:00
parent 14787e3583
commit c6997a1213
12 changed files with 126 additions and 33 deletions
@@ -1,6 +1,6 @@
<html>
<body>
Reports <b>if</b> statements which can be simplified to single <b>return</b> statements.
Reports <b>if</b> statements which can be simplified to single statements.
<p>
For example:
<code><pre>