-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Only consider argument types for matching (#33)
In the initial version of this rule, the name of the arguments were also taken into account when calculating matching score for the signature of the method. This is not precise and may lead into incorrect results because argument names are not part of a method's signature, only the argument types. So for instance: `void cadastrar(Pessoa umaPessoa)` and `void cadastrar(Pessoa pessoa)` should match regardless of the Pessoa argument name
- Loading branch information
Showing
1 changed file
with
28 additions
and
7 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