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