From 0796b65f5c50374c28a2897d4eaf9ad4e9b08d41 Mon Sep 17 00:00:00 2001 From: Myroslav Date: Mon, 6 May 2024 23:48:45 +0200 Subject: [PATCH] Removed the reference to SEPARATOR_ABOVE_COLOR (#1453) ## Test plan Build the plugin and load it in IntelliJ 2022.3 or newer. Check the log for occurrences of `NoSuchFieldError`. --- .../com/sourcegraph/cody/ignore/CommandPanelIgnoreBanner.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/com/sourcegraph/cody/ignore/CommandPanelIgnoreBanner.kt b/src/main/kotlin/com/sourcegraph/cody/ignore/CommandPanelIgnoreBanner.kt index 41a8e2b7f4..43ce9e689b 100644 --- a/src/main/kotlin/com/sourcegraph/cody/ignore/CommandPanelIgnoreBanner.kt +++ b/src/main/kotlin/com/sourcegraph/cody/ignore/CommandPanelIgnoreBanner.kt @@ -27,9 +27,7 @@ class CommandPanelIgnoreBanner() : NonOpaquePanel() { // These colors cribbed from EditorComposite, createTopBottomSideBorder val scheme = EditorColorsManager.getInstance().globalScheme - val borderColor = - scheme.getColor(EditorColors.SEPARATOR_ABOVE_COLOR) - ?: scheme.getColor(EditorColors.TEARLINE_COLOR) + val borderColor = scheme.getColor(EditorColors.TEARLINE_COLOR) border = SideBorder(borderColor, SideBorder.TOP or SideBorder.BOTTOM) }