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