We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90c7e2 commit d3085e0Copy full SHA for d3085e0
spring-core/src/main/java/org/springframework/core/annotation/AnnotationsScanner.java
@@ -350,6 +350,7 @@ private AnnotationsScanner() {
350
351
private static boolean isOverride(Method rootMethod, Method candidateMethod) {
352
return (!Modifier.isPrivate(candidateMethod.getModifiers()) &&
353
+ candidateMethod.getParameterCount() == rootMethod.getParameterCount() &&
354
candidateMethod.getName().equals(rootMethod.getName()) &&
355
hasSameParameterTypes(rootMethod, candidateMethod));
356
}
0 commit comments