-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate JMockit block to Mockito which contains redundant "this" pref…
…ix for arg matcher and migrate array as parameter for any (#610) * cope with redundant "this." parameters in expectation and verification block * fix incorrect logic made caused by carelessness * add test for redundant this modifer * add support for refactoring any() with array as parameter * add test to make sure OpenRewrite will not confuse identifiers with and without "this" * refactor to functional programming style * add tests in unit tests for expectations because the change in ArgumentMatchersRewrite.java affects Expectations too * Minor polish --------- Co-authored-by: Sheng Yu <sheng.yu@capgemini.com> Co-authored-by: Tim te Beek <tim@moderne.io>
- Loading branch information
1 parent
d81cc70
commit 8a95cb8
Showing
3 changed files
with
245 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.