-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend FluxJust
Refaster rule
#1253
Conversation
Looks good. No mutations were possible for these changes. |
error-prone-contrib/src/main/java/tech/picnic/errorprone/refasterrules/ReactorRules.java
Outdated
Show resolved
Hide resolved
...e-contrib/src/test/resources/tech/picnic/errorprone/refasterrules/ReactorRulesTestInput.java
Outdated
Show resolved
Hide resolved
Looks good. No mutations were possible for these changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Suggested commit message:
Extend `FluxJust` Refaster rule (#1253)
@@ -182,8 +182,8 @@ ImmutableSet<Flux<?>> testFluxEmpty() { | |||
Flux.range(0, 0)); | |||
} | |||
|
|||
Flux<Integer> testFluxJust() { | |||
return Flux.range(0, 1); | |||
ImmutableSet<Flux<?>> testFluxJust() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can be specific here and keep Integer
:).
Looks good. No mutations were possible for these changes. |
FluxJust
Refaster rule
99b7a7e
to
fe2d5a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and added a tiny commit. Congrats on your first contribution here, @tijana-ninkovic!
Looks good. No mutations were possible for these changes. |
fe2d5a8
to
8112de2
Compare
Looks good. No mutations were possible for these changes. |
Quality Gate passedIssues Measures |
Summary
This PR adds another case for the
FluxJust
rule, which replaces the following patternwith
Suggested Commit Message