MethodParameter.equals accepts subclasses pointing to same target declaration again
Issue: SPR-14438
This commit is contained in:
@@ -579,7 +579,7 @@ public class MethodParameter {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (other == null || getClass() != other.getClass()) {
|
||||
if (!(other instanceof MethodParameter)) {
|
||||
return false;
|
||||
}
|
||||
MethodParameter otherParam = (MethodParameter) other;
|
||||
|
||||
Reference in New Issue
Block a user