Sonar fixes

This commit is contained in:
Ingmar Goudt 2019-07-09 21:57:55 +02:00
parent 1621704b12
commit 178da75e4d
39 changed files with 97 additions and 79 deletions

View file

@ -21,6 +21,7 @@ import mage.util.SubTypeList;
import java.util.EnumSet;
import java.util.List;
import java.util.Set;
import java.util.UUID;
public class Commander implements CommandObject {
@ -122,7 +123,7 @@ public class Commander implements CommandObject {
}
@Override
public EnumSet<CardType> getCardType() {
public Set<CardType> getCardType() {
return sourceObject.getCardType();
}
@ -137,7 +138,7 @@ public class Commander implements CommandObject {
}
@Override
public EnumSet<SuperType> getSuperType() {
public Set<SuperType> getSuperType() {
return sourceObject.getSuperType();
}