-
Enhancement
-
Resolution: Done
-
Minor
-
None
-
None
getParameterTypes().length is inefficient because it creates an array clone, while getParameterCount() directly returns the length.
ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/drivers/XADataSourceReflectionWrapper.java: if(method.getName().equals(name) && method.getParameterTypes().length == 1) { common/classes/com/arjuna/common/internal/util/ClassloadingUtility.java: if(constructor.getParameterTypes().length == 1 &&
- is related to
-
WFLY-15612 Replace usages of getParameterTypes().length with getParameterCount()
- Closed