-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add recipe for replacing unnecesary Mockito#eq with direct parameters #615
Merged
Commits on Oct 10, 2024
-
Add recipe for unnecesary Mockito#eq
This adds a basic recipe for replacing Mockito#eq with direct parameters in when this is supported. This change should resolve Sonar issue java:S6068
Configuration menu - View commit details
-
Copy full SHA for e06b281 - Browse repository at this point
Copy the full SHA e06b281View commit details -
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cefb3a6 - Browse repository at this point
Copy the full SHA cefb3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c214d97 - Browse repository at this point
Copy the full SHA c214d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aed6e7 - Browse repository at this point
Copy the full SHA 2aed6e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1238f62 - Browse repository at this point
Copy the full SHA 1238f62View commit details
Commits on Oct 12, 2024
-
Update recipe to also support
doThrow#when
andBDDMockito#given
Also tests methods using Method Matchers. Also removes the `Mockito#eq` import if it is not required anymore.
Configuration menu - View commit details
-
Copy full SHA for 4cd1ebd - Browse repository at this point
Copy the full SHA 4cd1ebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f46f39b - Browse repository at this point
Copy the full SHA f46f39bView commit details
Commits on Oct 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 150e2cd - Browse repository at this point
Copy the full SHA 150e2cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03ee33d - Browse repository at this point
Copy the full SHA 03ee33dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9584156 - Browse repository at this point
Copy the full SHA 9584156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38e79ec - Browse repository at this point
Copy the full SHA 38e79ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd8aacb - Browse repository at this point
Copy the full SHA dd8aacbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bebf5c - Browse repository at this point
Copy the full SHA 3bebf5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09a8bb6 - Browse repository at this point
Copy the full SHA 09a8bb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b9552 - Browse repository at this point
Copy the full SHA e9b9552View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.