AssortedRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$).*
as compiler argument.
Table of contents
CheckIndex
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("CheckIndex")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$CheckIndex).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
CheckIndexConditional
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("CheckIndexConditional")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$CheckIndexConditional).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IteratorGetNextOrDefault
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IteratorGetNextOrDefault")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$IteratorGetNextOrDefault).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LogicalImplication
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LogicalImplication")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$LogicalImplication).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
UnboundedSingleElementStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("UnboundedSingleElementStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$UnboundedSingleElementStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DisjointSets
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DisjointSets")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$DisjointSets).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DisjointCollections
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DisjointCollections")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$DisjointCollections).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IterableIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IterableIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$IterableIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
SplitToStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("SplitToStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssortedRules\$SplitToStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.