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