mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[intentions] ensure predicted order in the list with IntentionActionWrapper (IDEA-279750)
GitOrigin-RevId: a0dc1138523158293227c55479f909d55ceb463c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
591038e04c
commit
4315acc3b8
+2
-3
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.codeInsight.intention.impl.config;
|
||||
|
||||
import com.intellij.codeInsight.intention.FileModifier;
|
||||
import com.intellij.codeInsight.intention.IntentionAction;
|
||||
import com.intellij.codeInsight.intention.IntentionActionBean;
|
||||
import com.intellij.codeInsight.intention.IntentionActionDelegate;
|
||||
@@ -148,6 +147,6 @@ public final class IntentionActionWrapper implements IntentionAction, ShortcutPr
|
||||
return ((Comparable)action1).compareTo(action2);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
return getText().compareTo(other.getText());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user