mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+4
-2
@@ -788,8 +788,10 @@ public class GeneralHighlightingPass extends ProgressableTextEditorHighlightingP
|
||||
return visitorArray;
|
||||
}
|
||||
|
||||
static void cancelAndRestartDaemonLater(ProgressIndicator progress, final Project project, TextEditorHighlightingPass pass) throws ProcessCanceledException {
|
||||
PassExecutorService.log(progress, pass, "Cancel and restart");
|
||||
static void cancelAndRestartDaemonLater(@NotNull ProgressIndicator progress,
|
||||
@NotNull final Project project,
|
||||
@NotNull TextEditorHighlightingPass passCalledFrom) throws ProcessCanceledException {
|
||||
PassExecutorService.log(progress, passCalledFrom, "Cancel and restart");
|
||||
progress.cancel();
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
@Override
|
||||
|
||||
@@ -158,6 +158,7 @@ public class CodeSmellDetectorImpl extends CodeSmellDetector {
|
||||
return result;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private List<CodeSmellInfo> findCodeSmells(@NotNull PsiFile psiFile, final ProgressIndicator progress, @NotNull Document document) {
|
||||
final List<CodeSmellInfo> result = new ArrayList<CodeSmellInfo>();
|
||||
|
||||
|
||||
+2
-2
@@ -54,7 +54,7 @@ public class QuickListsManager implements ExportableApplicationComponent, NamedJ
|
||||
private final ActionManager myActionManager;
|
||||
private final SchemesManager<QuickList, QuickList> mySchemesManager;
|
||||
|
||||
private final static Logger LOG = Logger.getInstance("#" + QuickListsManager.class.getName());
|
||||
private static final Logger LOG = Logger.getInstance("#" + QuickListsManager.class.getName());
|
||||
|
||||
public static QuickListsManager getInstance() {
|
||||
return ApplicationManager.getApplication().getComponent(QuickListsManager.class);
|
||||
@@ -116,7 +116,7 @@ public class QuickListsManager implements ExportableApplicationComponent, NamedJ
|
||||
|
||||
public void initComponent() {
|
||||
mySchemesManager.loadSchemes();
|
||||
registerActions();
|
||||
registerActions();
|
||||
}
|
||||
|
||||
public void disposeComponent() {
|
||||
|
||||
Reference in New Issue
Block a user