From 927bde23ca0039f6950665fb5d84b5ebd321128e Mon Sep 17 00:00:00 2001 From: Urs Wolfer Date: Sun, 13 Jun 2021 21:55:57 +0200 Subject: [PATCH] Port away from deprecated CustomComponentAction#createCustomComponent --- .../urswolfer/intellij/plugin/gerrit/ui/BasePopupAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/BasePopupAction.java b/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/BasePopupAction.java index b1d9760e..563e6176 100644 --- a/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/BasePopupAction.java +++ b/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/BasePopupAction.java @@ -90,7 +90,7 @@ public void actionPerformed(@NotNull AnActionEvent e) { } @Override - public JComponent createCustomComponent(Presentation presentation) { + public @NotNull JComponent createCustomComponent(@NotNull Presentation presentation, @NotNull String place) { return myPanel; }