1616import com .magento .idea .magento2uct .packages .IndexRegistry ;
1717import com .magento .idea .magento2uct .packages .SupportedVersion ;
1818import java .awt .event .KeyEvent ;
19- import javax .swing .JButton ;
2019import javax .swing .JComboBox ;
2120import javax .swing .JComponent ;
2221import javax .swing .JLabel ;
@@ -32,15 +31,13 @@ public class ReindexDialog extends AbstractDialog {
3231 private JPanel contentPanel ;
3332 private JComboBox <ComboBoxItemData > targetVersion ;
3433 private JComboBox <ComboBoxItemData > targetIndex ;
35- private JButton buttonOk ;
36- private JButton buttonCancel ;
3734 private JLabel targetVersionLabel ;//NOPMD
3835 private JLabel targetIndexLabel ;//NOPMD
3936
4037 /**
4138 * Reindexing dialog.
4239 *
43- * @param project Project
40+ * @param project Project
4441 * @param directory PsiDirectory
4542 */
4643 public ReindexDialog (
@@ -54,9 +51,6 @@ public ReindexDialog(
5451
5552 setTitle (ReindexVersionedIndexesAction .ACTION_NAME );
5653
57- buttonOk .addActionListener (event -> onOK ());
58- buttonCancel .addActionListener (event -> onCancel ());
59-
6054 // call onCancel() on ESCAPE
6155 contentPanel .registerKeyboardAction (
6256 event -> onCancel (),
@@ -70,7 +64,7 @@ public ReindexDialog(
7064 /**
7165 * Open reindexing dialog window.
7266 *
73- * @param project Project
67+ * @param project Project
7468 * @param directory PsiDirectory
7569 */
7670 public static void open (
0 commit comments