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