Sonar fixes 19022019

This commit is contained in:
Ingmar Goudt 2019-02-19 21:51:45 +01:00
parent 872eea7326
commit 056226d83c
385 changed files with 472 additions and 475 deletions

View file

@ -1260,7 +1260,7 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
for (List<List<CardView>> gridRow : cardGrid) {
for (List<CardView> stack : gridRow) {
for (CardView card : stack) {
boolean s = card.isSelected() | card.getCardTypes().contains(cardType);
boolean s = card.isSelected() || card.getCardTypes().contains(cardType);
card.setSelected(s);
cardViews.get(card.getId()).update(card);
}