move Google Guava to mage-root pom in dependencyManagement, so other modules can use it

This commit is contained in:
Ingmar Goudt 2019-03-18 15:48:35 +01:00
parent efb357747d
commit 72c8c267a1
7 changed files with 32 additions and 29 deletions

View file

@ -1,5 +1,6 @@
package mage.cards;
import com.google.common.collect.ImmutableList;
import mage.MageObject;
import mage.MageObjectImpl;
import mage.Mana;
@ -224,11 +225,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
game.getState().getCardState(objectId).addInfo(key, value);
}
protected static final ArrayList<String> rulesError = new ArrayList<String>() {
{
add("Exception occurred in rules generation");
}
};
protected static final List<String> rulesError = ImmutableList.of("Exception occurred in rules generation");
@Override
public List<String> getRules() {