package de.flux.playground.deckcompare.analyze;

import de.flux.playground.deckcompare.dto.Card;

public class CardConflictAnalyzer {

    public static boolean conflicted(Card card, Card otherCard) {

        boolean isConflicted = false;

        if (card.equals(otherCard)) {
            int overallQunatity = card.getQty() + otherCard.getQty();
            isConflicted = overallQunatity > 3;
        }

        return isConflicted;
    }

}

@@ -98,16 +98,22 @@
 %0Apublic 
+final 
 class Ca

Class can be final