From 77d641a916a3f00a804234656e94e098a6b42229 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lars=20K=C3=BChne?=
- Checks for overly complicated boolean return statements. Idea shamelessly stolen - from the equivalent PMD rule. + Checks for overly complicated boolean return statements. For example the following code +
++if (valid()) + return false; +else + return true; ++
+ could be written as +
+return !valid(); ++ +
+ The Idea for this Check has been shamelessly stolen + from the equivalent PMD rule.