Polishing

This commit is contained in:
Juergen Hoeller
2018-06-28 18:02:07 +02:00
parent 8ad5299f4a
commit d34e6f7f70
8 changed files with 15 additions and 38 deletions

View File

@@ -209,10 +209,8 @@ public abstract class MethodMatchers {
@Override
public int hashCode() {
int hashCode = super.hashCode();
hashCode = 37 * hashCode + this.cf1.hashCode();
hashCode = 37 * hashCode + this.cf2.hashCode();
return hashCode;
// Allow for matching with regular UnionMethodMatcher by providing same hash...
return super.hashCode();
}
}