diff --git a/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/AvoidConstantAsFirstOperandInConditionCheck.java b/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/AvoidConstantAsFirstOperandInConditionCheck.java index 96ad49973..d09d44dc1 100755 --- a/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/AvoidConstantAsFirstOperandInConditionCheck.java +++ b/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/AvoidConstantAsFirstOperandInConditionCheck.java @@ -39,7 +39,8 @@ *

* *

- * This check was extended to include all equality checks like ">", ">=", "<", "<=" + * This check was extended to include all equality checks like {@literal >}, + * {@literal >=}, {@literal <}, {@literal <=} * for users who prefer constants always be on the right-hand side for any condition. *

* diff --git a/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/LogicConditionNeedOptimizationCheck.java b/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/LogicConditionNeedOptimizationCheck.java index b672f690c..a9ff5987e 100644 --- a/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/LogicConditionNeedOptimizationCheck.java +++ b/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/LogicConditionNeedOptimizationCheck.java @@ -29,7 +29,8 @@ * methods and instanceof in '&&' and '||' conditions. *

*

- * For example: if(getProperty() && property) ==> if(property && getProperty()), + * For example: + * {@code if(getProperty() && property) ==> if(property && getProperty())} * and similarly for any expression. *

* diff --git a/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/MultipleStringLiteralsExtendedCheck.java b/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/MultipleStringLiteralsExtendedCheck.java index 89840afad..11e3abfb3 100755 --- a/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/MultipleStringLiteralsExtendedCheck.java +++ b/sevntu-checks/src/main/java/com/github/sevntu/checkstyle/checks/coding/MultipleStringLiteralsExtendedCheck.java @@ -47,7 +47,7 @@ public class MultipleStringLiteralsExtendedCheck extends AbstractCheck { public static final String MSG_KEY = "multiple.string.literal"; /** - * The found strings and their positions. <String, ArrayList>, with + * The found strings and their positions. {@code }, with * the ArrayList containing StringInfo objects. */ private final Map> stringMap = new HashMap<>();