fixup! program towards Interface rather than implementations

This commit is contained in:
Leandro Doctors 2020-03-22 20:42:11 -03:00
parent bfcad77ad3
commit 855a9cc427
4 changed files with 8 additions and 4 deletions

View file

@ -14,6 +14,7 @@ import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.*;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import static mage.client.game.FeedbackPanel.FeedbackMode.QUESTION;
@ -308,7 +309,7 @@ public class HelperPanel extends JPanel {
this.buttonGrid.setLayout(new FlowLayout(FlowLayout.CENTER, BUTTONS_H_GAP, 0));
this.buttonGrid.setPreferredSize(null);
java.util.List<JButton> buttons = new ArrayList<>();
List<JButton> buttons = new ArrayList<>();
if (this.btnSpecial.isVisible()) {
buttons.add(this.btnSpecial);
}