mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inline to anonymous: multiple interfaces are disabled by next condition (19213)
This commit is contained in:
-1
@@ -290,7 +290,6 @@ public class InlineToAnonymousClassProcessor extends BaseRefactoringProcessor {
|
||||
PsiClass superClass = aClass.getSuperClass();
|
||||
PsiClassType[] interfaceTypes = aClass.getImplementsListTypes();
|
||||
if (interfaceTypes.length > 0 && !InlineToAnonymousClassHandler.isRedundantImplements(superClass, interfaceTypes [0])) {
|
||||
assert interfaceTypes.length == 1;
|
||||
superType = interfaceTypes [0];
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user