AssertJLongRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJLongRules\$).*
as compiler argument.
Table of contents
AbstractLongAssertIsEqualTo
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractLongAssertIsEqualTo")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJLongRules\$AbstractLongAssertIsEqualTo).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractLongAssertIsNotEqualTo
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractLongAssertIsNotEqualTo")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJLongRules\$AbstractLongAssertIsNotEqualTo).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractLongAssertIsZero
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractLongAssertIsZero")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJLongRules\$AbstractLongAssertIsZero).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractLongAssertIsNotZero
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractLongAssertIsNotZero")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJLongRules\$AbstractLongAssertIsNotZero).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractLongAssertIsOne
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractLongAssertIsOne")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJLongRules\$AbstractLongAssertIsOne).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.