added class javadoc

This commit is contained in:
Lars Kühne 2002-10-21 08:36:57 +00:00
parent f1ef403f5e
commit c77321d499
1 changed files with 11 additions and 1 deletions

View File

@ -23,7 +23,17 @@ import com.puppycrawl.tools.checkstyle.api.DetailAST;
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
////////////////////////////////////////////////////////////////////////////////
/**
* Checks for overly complicated boolean expressions. Currently finds code like
* <code>if (b == true)</code>, <code>b || true</code>, <code>!false</code>,
* etc.
*
* <p>
* Rationale: Complex boolean logic makes code hard to understand and maintain.
* </p>
*
* @author lkuehne
*/
public class SimplifyBooleanExpressionCheck
extends Check
{