From e4cc656fe97600c920014c498b0160664befc8e8 Mon Sep 17 00:00:00 2001 From: Aydar Mukhametzyanov Date: Wed, 20 Jul 2022 10:42:35 +0200 Subject: [PATCH] IDEA-295396 Fix Nullable annotation GitOrigin-RevId: bbd590368d7c881aa91b5842ac79019b0f2c072e --- .../src/com/intellij/ide/navigationToolbar/NavBarPanel.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPanel.java b/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPanel.java index 15313bcf2905..b59c38f44c21 100644 --- a/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPanel.java +++ b/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPanel.java @@ -61,7 +61,6 @@ import org.jetbrains.annotations.Nullable; import javax.swing.*; import javax.swing.border.LineBorder; -import javax.swing.event.PopupMenuEvent; import javax.swing.plaf.PanelUI; import javax.swing.tree.TreeNode; import java.awt.*; @@ -103,9 +102,9 @@ public class NavBarPanel extends JPanel implements DataProvider, PopupOwner, Dis private static class SelectionIndexes { private final int myBarIndex; - private final @Nullable int[] myNodePopupIndexes; + private final int @Nullable [] myNodePopupIndexes; - SelectionIndexes(int barIndex, int[] nodePopupIndexes) { + SelectionIndexes(int barIndex, int @Nullable [] nodePopupIndexes) { myBarIndex = barIndex; myNodePopupIndexes = nodePopupIndexes; }