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