mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 04:22:01 -08:00
replaced various instances of instanceof lambda functions with
This commit is contained in:
parent
26ef55c1bc
commit
26ae7b7281
21 changed files with 37 additions and 46 deletions
|
|
@ -110,7 +110,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
|
||||
// deck legality cards selection
|
||||
Arrays.stream(deckLegalityDisplay.getComponents())
|
||||
.filter(c -> c instanceof LegalityLabel)
|
||||
.filter(LegalityLabel.class::isInstance)
|
||||
.forEach(c -> {
|
||||
c.addMouseListener(new MouseAdapter() {
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue