diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DescendantTokenCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DescendantTokenCheck.java index db871fd10..a0af88032 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DescendantTokenCheck.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/DescendantTokenCheck.java @@ -31,6 +31,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes; /** *
* Checks for restricted tokens beneath other tokens. + *
** Examples of how to configure the check: *
@@ -40,7 +41,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes; * <property name="tokens" value="EQUAL,NOT_EQUAL"/> * <property name="limitedTokens" value="STRING_LITERAL"/> * <property name="maximumNumber" value="0"/> - * <property name="maximumDepth" value="1"/&dt; + * <property name="maximumDepth" value="1"/> * </module> * * <!-- Switch with no default --> @@ -160,7 +161,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes; * <property name="maximumNumber" value="10"/> * </module> * - *+ * * @author Tim Tyler <tim@tt1.org> * @author Rick Giles */ diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/indentation/IndentationCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/indentation/IndentationCheck.java index f2daaee7a..9645d4477 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/indentation/IndentationCheck.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/indentation/IndentationCheck.java @@ -86,8 +86,6 @@ import org.apache.commons.collections.ArrayStack; * while loop handler checks the while loop as well as the braces * and immediate children. *
- * Created on November 2, 2002, 10:59 PM - **
* - handler class -to-> ID mapping kept in Map * - parent passed in during construction diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/BooleanExpressionComplexityCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/BooleanExpressionComplexityCheck.java index 48b414f3b..969718005 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/BooleanExpressionComplexityCheck.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/BooleanExpressionComplexityCheck.java @@ -27,7 +27,7 @@ import com.puppycrawl.tools.checkstyle.checks.CheckUtils; import java.util.Stack; /** - * Restricts nested boolean operators (&&, || and ^) to + * Restricts nested boolean operators (&&, || and ^) to * a specified depth (default = 3). * * @author Simon Harris diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/CyclomaticComplexityCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/CyclomaticComplexityCheck.java index 7dcb79d12..86cc720d1 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/CyclomaticComplexityCheck.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/CyclomaticComplexityCheck.java @@ -25,7 +25,7 @@ import com.puppycrawl.tools.checkstyle.checks.CheckUtils; /** * Checks cyclomatic complexity against a specified limit. The complexity is * measured by the number of "if", "while", "do", "for", "?:", "catch", - * "switch", "case", "&&" and "||" statements (plus one) in the body of the + * "switch", "case", "&&" and "||" statements (plus one) in the body of the * member. It is a measure of the minimum number of possible paths through the * source and therefore the number of required tests. Generally 1-4 is * considered good, 5-7 ok, 8-10 consider re-factoring, and 11+ re-factor now!