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