avoid log: method not implemented in class com.intellij.psi.impl.file.PsiPackageImpl

This commit is contained in:
林万程
2022-04-20 06:39:31 +08:00
parent c9fdd8c412
commit 2162c6c33c

View File

@@ -145,9 +145,7 @@ public class Tree implements ProjectViewNodeDecorator {
if (parent == null) {
return null;
}
if (parent.getChildren().length != 1) {
return null;
}
// PsiPackage not implemented getChildren()
child = parent;
}
}