-
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
Introduce MonoSingle
Refaster rule
#703
Conversation
Looks good. No mutations were possible for these changes. |
* Don't unnecessarily transform a {@link Mono} to a {@link Flux} before calling {@link | ||
* Mono#single()}. |
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.
This sentence can be a bit improved as technically they are not calling Mono#single
but rather Flux#single
. Perhaps better:
* Don't unnecessarily transform a {@link Mono} to a {@link Flux} before calling {@link | |
* Mono#single()}. | |
* Don't unnecessarily transform a {@link Mono} to a {@link Flux} to expect exactly one item. |
Second part of the sentence based off of Mono#single
's Javadoc.
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.
Fine by me, will update.
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.
Thanks for the tweak!
Introduce `MonoSingle` Refaster rule (#703)
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.
Tnx!
NB: I locally also have a note for |
e815c4e
to
130da05
Compare
Looks good. No mutations were possible for these changes. |
Filed a PR: #713. It's the reason I didn't merge this one yet. Will now rebase and merge after some of the dependencies. |
130da05
to
da481eb
Compare
Looks good. No mutations were possible for these changes. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Identified as part of the ongoing internal migration to
WebClient
.