DATACMNS-1673 - Use Method.getParameterCount() where possible to improve performance.
Original pull request: #426.
This commit is contained in:
committed by
Mark Paluch
parent
48e49babe3
commit
5f3102144c
@@ -166,6 +166,7 @@ public class Function {
|
||||
public boolean isSignatureEqual(Function other) {
|
||||
|
||||
return getName().equals(other.getName()) //
|
||||
&& method.getParameterCount() == other.method.getParameterCount()
|
||||
&& Arrays.equals(method.getParameterTypes(), other.method.getParameterTypes());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user