Christoph Dreis (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Validator (
https://hibernate.atlassian.net/browse/HV?atlOrigin=eyJpIjoiYWZmOTAzMTM4N...
) / Improvement (
https://hibernate.atlassian.net/browse/HV-1762?atlOrigin=eyJpIjoiYWZmOTAz...
) HV-1762 (
https://hibernate.atlassian.net/browse/HV-1762?atlOrigin=eyJpIjoiYWZmOTAz...
) Avoid overhead from Method.getParameterTypes() where possible (
https://hibernate.atlassian.net/browse/HV-1762?atlOrigin=eyJpIjoiYWZmOTAz...
)
Issue Type: Improvement Affects Versions: 7.0.0.Alpha1 Assignee: Unassigned Components:
engine Created: 03/Apr/2020 02:53 AM Priority: Minor Reporter: Christoph Dreis (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Hi,
I just noticed that a couple of places still make use of
*Method.getParameterTypes().length* which could be replaced by
*Method.getParameterCount()* since Java 8. By that we avoid unnecessary cloning overhead.
Pull-Request will follow shortly.
Cheers,
Christoph
(
https://hibernate.atlassian.net/browse/HV-1762#add-comment?atlOrigin=eyJp...
) Add Comment (
https://hibernate.atlassian.net/browse/HV-1762#add-comment?atlOrigin=eyJp...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100124- sha1:7217f9f )