mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make GroovyIconProvider non dumb-aware to avoid costly non-cancellable resolve during indexing
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
package org.jetbrains.plugins.groovy;
|
||||
|
||||
import com.intellij.ide.IconProvider;
|
||||
import com.intellij.openapi.project.DumbAware;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import icons.JetgroovyIcons;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -30,7 +29,7 @@ import javax.swing.*;
|
||||
/**
|
||||
* @author peter
|
||||
*/
|
||||
public class GroovyIconProvider extends IconProvider implements DumbAware {
|
||||
public class GroovyIconProvider extends IconProvider {
|
||||
|
||||
@Nullable
|
||||
public Icon getIcon(@NotNull PsiElement element, int flags) {
|
||||
|
||||
Reference in New Issue
Block a user