LongStreamRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$).*
as compiler argument.
Table of contents
- LongStreamClosedOpenRange
- ConcatOneLongStream
- ConcatTwoLongStreams
- FilterOuterLongStreamAfterFlatMap
- FilterOuterStreamAfterFlatMapToLong
- MapOuterLongStreamAfterFlatMap
- MapOuterStreamAfterFlatMapToLong
- FlatMapOuterLongStreamAfterFlatMap
- FlatMapOuterStreamAfterFlatMapToLong
- LongStreamFilterSorted
- LongStreamIsEmpty
- LongStreamIsNotEmpty
- LongStreamMin
- LongStreamNoneMatch
- LongStreamNoneMatch2
- LongStreamAnyMatch
- LongStreamAllMatch
- LongStreamAllMatch2
- LongStreamTakeWhile
LongStreamClosedOpenRange
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamClosedOpenRange")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamClosedOpenRange).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatOneLongStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatOneLongStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$ConcatOneLongStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatTwoLongStreams
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatTwoLongStreams")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$ConcatTwoLongStreams).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterLongStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterLongStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$FilterOuterLongStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterStreamAfterFlatMapToLong
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterStreamAfterFlatMapToLong")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$FilterOuterStreamAfterFlatMapToLong).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterLongStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterLongStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$MapOuterLongStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterStreamAfterFlatMapToLong
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterStreamAfterFlatMapToLong")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$MapOuterStreamAfterFlatMapToLong).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterLongStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterLongStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$FlatMapOuterLongStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterStreamAfterFlatMapToLong
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterStreamAfterFlatMapToLong")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$FlatMapOuterStreamAfterFlatMapToLong).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamFilterSorted
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamFilterSorted")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamFilterSorted).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamIsNotEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamIsNotEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamIsNotEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamMin
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamMin")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamMin).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamNoneMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamNoneMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamNoneMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamNoneMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamNoneMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamNoneMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamAnyMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamAnyMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamAnyMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamAllMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamAllMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamAllMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamAllMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamAllMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamAllMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LongStreamTakeWhile
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LongStreamTakeWhile")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!LongStreamRules\$LongStreamTakeWhile).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.