From cb1b50707697b980566bf4f72a2319a31f0ae6ec Mon Sep 17 00:00:00 2001 From: vraskulin Date: Wed, 11 Jan 2017 11:49:19 +0300 Subject: [PATCH] Hotfix (client don't compile) after pr 2762 merged to master There is no ActionListener in import block, so mage-client in current state can't be compiled. Changed ActionListener to lambda --- .../src/main/java/mage/client/cards/DragCardGrid.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java b/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java index edc43221e6..e352c154e6 100644 --- a/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java +++ b/Mage.Client/src/main/java/mage/client/cards/DragCardGrid.java @@ -1023,11 +1023,7 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg // Bling button - aka Add in a premium 'JR', 'MBP', 'CS' etc card blingButton.setToolTipText("Bling your deck! Select the original and added cards by selecting 'Multiples' in the selection options"); - blingButton.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent evt) { - blingDeck(); - } - }); + blingButton.addActionListener(evt -> blingDeck()); // Filter popup filterPopup = new JPopupMenu();