arturobernalg commented on code in PR #875:
URL: https://github.com/apache/commons-lang/pull/875#discussion_r990679581
##########
src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java:
##########
@@ -710,7 +710,7 @@ public static Method getMatchingAccessibleMethod(final
Class<?> cls,
final String parameterTypeName = lastParameterType==null ? null :
lastParameterType.getName();
final String parameterTypeSuperClassName = lastParameterType==null
? null : lastParameterType.getSuperclass().getName();
- if (parameterTypeName!= null && parameterTypeSuperClassName !=
null && !methodParameterComponentTypeName.equals(parameterTypeName)
+ if (parameterTypeName!= null &&
!methodParameterComponentTypeName.equals(parameterTypeName)
Review Comment:
HI @garydgregory
No needed. we can safely remove
TY
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]