Prefer LongStream#range(long, long) over more verbose alternatives

Apache 2.0

Warning: this rewrite changes behavior when endExclusive equals Long#MIN_VALUE: the subtraction endExclusive - 1 overflows to Long#MAX_VALUE, producing a semantically different stream.

tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamRangeRecipe
mod run . --recipe='tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamRangeRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.