Update ReflectUtils.java (#13382)

Remove useless code
This commit is contained in:
why技术 2023-11-20 10:51:25 +08:00 committed by GitHub
parent 43e78d1298
commit a1642ac07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -899,10 +899,6 @@ public final class ReflectUtils {
@Deprecated
public static Method findMethodByMethodSignature(Class<?> clazz, String methodName, String[] parameterTypes)
throws NoSuchMethodException, ClassNotFoundException {
String signature = clazz.getName() + "." + methodName;
if (parameterTypes != null && parameterTypes.length > 0) {
signature += StringUtils.join(parameterTypes);
}
Method method;
if (parameterTypes == null) {
List<Method> finded = new ArrayList<>();