* Some connection handling changes.

This commit is contained in:
LevelX2 2014-10-02 01:14:32 +02:00
parent 54d43d30ab
commit 8ac8d36c03
3 changed files with 6 additions and 4 deletions

View file

@ -305,7 +305,7 @@ public class MageActionCallback implements ActionCallback {
}
private void sort(CardPanel card, JPanel container, boolean sortSource) {
java.util.List<CardPanel> cards = new ArrayList<CardPanel>();
java.util.List<CardPanel> cards = new ArrayList<>();
for (Component component : container.getComponents()) {
if (component instanceof CardPanel) {
if (!component.equals(card)) {