AssertJPrimitiveRules
SUGGESTION
Simplification
View source code on GitHub
Suppression
Disable all rules by adding -XepOpt:Refaster:NamePattern=^(?!AssertJPrimitiveRules\$).*
as
compiler argument.
Table of contents
- AssertThatIsEqualTo
- AssertThatIsNotEqualTo
- AssertThatIsLessThan
- AssertThatIsLessThanOrEqualTo
- AssertThatIsGreaterThan
- AssertThatIsGreaterThanOrEqualTo
AssertThatIsEqualTo
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("AssertThatIsEqualTo")
to
the enclosing element.
Disable this rule by adding -XepOpt:Refaster:NamePattern=^(?!AssertJPrimitiveRules\$AssertThatIsEqualTo).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is
applied.
AssertThatIsNotEqualTo
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("AssertThatIsNotEqualTo")
to
the enclosing element.
Disable this rule by adding -XepOpt:Refaster:NamePattern=^(?!AssertJPrimitiveRules\$AssertThatIsNotEqualTo).*
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=^(?!AssertJPrimitiveRules\$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=^(?!AssertJPrimitiveRules\$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=^(?!AssertJPrimitiveRules\$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=^(?!AssertJPrimitiveRules\$AssertThatIsGreaterThanOrEqualTo).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is
applied.