Skip to content
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

Use getParameterCount rather than getParameterTypes where possible #436

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

snuyanzin
Copy link
Collaborator

@snuyanzin snuyanzin commented Oct 14, 2022

Use getParameterCount rather than getParameterTypes since getParameterTypes each time clones an array

@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2022

Codecov Report

Merging #436 (ce20260) into main (feac900) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #436      +/-   ##
============================================
- Coverage     93.95%   93.93%   -0.03%     
+ Complexity     2006     2005       -1     
============================================
  Files           222      222              
  Lines          4021     4023       +2     
  Branches        384      384              
============================================
+ Hits           3778     3779       +1     
- Misses          146      150       +4     
+ Partials         97       94       -3     
Impacted Files Coverage Δ
.../java/net/datafaker/service/FakeValuesService.java 87.36% <100.00%> (+0.05%) ⬆️
.../main/java/net/datafaker/service/FakerContext.java 84.61% <0.00%> (-2.57%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@snuyanzin snuyanzin merged commit ce20260 into datafaker-net:main Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants