-
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
PSF-9432 Introduce JUnit Arguments Refaster Rule #3
Conversation
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 don't really know refaster but LGTM!
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 for picking this up. Sorry for the nits, but at almost 500 templates and counting I have to be a bit strict to retain sanity :)
...-contrib/src/main/java/tech/picnic/errorprone/refastertemplates/JUnitArgumentsTemplates.java
Outdated
Show resolved
Hide resolved
.../src/test/resources/tech/picnic/errorprone/bugpatterns/JUnitArgumentsTemplatesTestInput.java
Outdated
Show resolved
Hide resolved
Please, no reason to apologize. |
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.
Added a tiny commit for some extra consistency. Super nice!
Will merge tomorrow :)
Nice! Thanks for all the suggestions and final tweaks 🙂 |
Re-approving :) |
JIRA PSF-9432 - Implement a refaster rule for
Arguments#arguments
Subjective
Transform
Arguments#of
calls to statically importedArguments#arguments
calls.PS: The information on testing of varargs parameters was taken from a Github PR from a familiar face (at least the Github icon). 😉