forked from External/mage
Fixed test, fixed some code warnings
This commit is contained in:
parent
5c30467c48
commit
e8ffe90d41
10 changed files with 21 additions and 20 deletions
|
|
@ -103,7 +103,7 @@ public abstract class TargetImpl implements Target {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
int min = getMinNumberOfTargets();
|
||||
int max = getMaxNumberOfTargets();
|
||||
if (min != 1 || max != 1) {
|
||||
if (!getTargetName().startsWith("X") && (min != 1 || max != 1)) {
|
||||
if (min < max && max != Integer.MAX_VALUE) {
|
||||
if (min == 1 && max == 2) {
|
||||
sb.append("one or ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue