DoubleStreamRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$).*
as compiler argument.
Table of contents
- ConcatOneDoubleStream
- ConcatTwoDoubleStreams
- FilterOuterDoubleStreamAfterFlatMap
- FilterOuterStreamAfterFlatMapToDouble
- MapOuterDoubleStreamAfterFlatMap
- MapOuterStreamAfterFlatMapToDouble
- FlatMapOuterDoubleStreamAfterFlatMap
- FlatMapOuterStreamAfterFlatMapToDouble
- DoubleStreamFilterSorted
- DoubleStreamIsEmpty
- DoubleStreamIsNotEmpty
- DoubleStreamMin
- DoubleStreamNoneMatch
- DoubleStreamNoneMatch2
- DoubleStreamAnyMatch
- DoubleStreamAllMatch
- DoubleStreamAllMatch2
- DoubleStreamTakeWhile
ConcatOneDoubleStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatOneDoubleStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$ConcatOneDoubleStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatTwoDoubleStreams
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatTwoDoubleStreams")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$ConcatTwoDoubleStreams).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterDoubleStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterDoubleStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$FilterOuterDoubleStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterStreamAfterFlatMapToDouble
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterStreamAfterFlatMapToDouble")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$FilterOuterStreamAfterFlatMapToDouble).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterDoubleStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterDoubleStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$MapOuterDoubleStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterStreamAfterFlatMapToDouble
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterStreamAfterFlatMapToDouble")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$MapOuterStreamAfterFlatMapToDouble).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterDoubleStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterDoubleStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$FlatMapOuterDoubleStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterStreamAfterFlatMapToDouble
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterStreamAfterFlatMapToDouble")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$FlatMapOuterStreamAfterFlatMapToDouble).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamFilterSorted
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamFilterSorted")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamFilterSorted).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamIsNotEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamIsNotEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamIsNotEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamMin
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamMin")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamMin).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamNoneMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamNoneMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamNoneMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamNoneMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamNoneMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamNoneMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamAnyMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamAnyMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamAnyMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamAllMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamAllMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamAllMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamAllMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamAllMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamAllMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DoubleStreamTakeWhile
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DoubleStreamTakeWhile")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!DoubleStreamRules\$DoubleStreamTakeWhile).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.