mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[platform] Remove deprecated LineMarkerProviders.INSTANCE
GitOrigin-RevId: 3b853b94a29bfa25b51df971721cbd160b513556
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2294c68913
commit
4e6d54bc73
@@ -12,12 +12,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
public final class LineMarkerProviders extends LanguageExtension<LineMarkerProvider> {
|
||||
public static final ExtensionPointName<LanguageExtensionPoint<LineMarkerProvider>> EP_NAME = ExtensionPointName.create("com.intellij.codeInsight.lineMarkerProvider");
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #getInstance()}.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public static final LineMarkerProviders INSTANCE = ApplicationManager.getApplication() == null || ApplicationManager.getApplication().isUnitTestMode() ? null : getInstance();
|
||||
|
||||
public static @NotNull LineMarkerProviders getInstance() {
|
||||
return ApplicationManager.getApplication().getService(LineMarkerProviders.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user