mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
missed substitutor in hash code (IDEA-74581)
This commit is contained in:
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user