missed substitutor in hash code (IDEA-74581)

This commit is contained in:
anna
2011-09-27 15:55:24 +02:00
parent 15f25178c6
commit 2bd262433b
2 changed files with 2 additions and 2 deletions
@@ -51,7 +51,7 @@ public class MethodSignatureUtil {
result += 37 * parameterTypes.length;
PsiType firstParamType = parameterTypes.length == 0 ? null : parameterTypes[0];
if (firstParamType != null) {
firstParamType = TypeConversionUtil.erasure(firstParamType);
firstParamType = TypeConversionUtil.erasure(firstParamType, signature.getSubstitutor());
result = 31*result + firstParamType.hashCode();
}
return result;
@@ -87,7 +87,7 @@ abstract class RunConfigurationExtension<T extends Ao> {
class F extends RunConfigurationExtension<Bo> {
<error descr="Method does not override method from its superclass">@Override</error>
@Override
protected <P extends Bo> SettingsEditor<P> createEditor(P configuration) {
return null;
}