fixup! program towards Interface rather than implementations

This commit is contained in:
Leandro Doctors 2020-03-22 20:42:11 -03:00
parent bfcad77ad3
commit 855a9cc427
4 changed files with 8 additions and 4 deletions

View file

@ -8,6 +8,7 @@ import java.awt.*;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@ -30,7 +31,7 @@ public final class TextboxRuleParser {
// the textbox of a card.
public static TextboxRule parse(CardView source, String rule) {
// List of regions to apply
java.util.List<TextboxRule.AttributeRegion> regions = new ArrayList<>();
List<TextboxRule.AttributeRegion> regions = new ArrayList<>();
// Leveler / loyalty / basic
boolean isLeveler = false;