Skip to content

Use getParameterCount rather than getParameterTypes where possible#436

Merged
snuyanzin merged 1 commit into
datafaker-net:mainfrom
snuyanzin:parcount
Oct 15, 2022
Merged

Use getParameterCount rather than getParameterTypes where possible#436
snuyanzin merged 1 commit into
datafaker-net:mainfrom
snuyanzin:parcount

Conversation

@snuyanzin
Copy link
Copy Markdown
Collaborator

@snuyanzin snuyanzin commented Oct 14, 2022

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

@codecov-commenter
Copy link
Copy Markdown

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