Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback

This commit is contained in:
vraskulin 2017-02-28 12:40:12 +03:00
parent 04973ea5aa
commit 0a3c95dde5
135 changed files with 582 additions and 642 deletions

View file

@ -27,8 +27,6 @@
*/
package org.mage.test.serverside.deck;
import java.util.ArrayList;
import java.util.List;
import mage.cards.decks.Deck;
import mage.cards.decks.DeckValidator;
import mage.cards.repository.CardInfo;
@ -39,13 +37,16 @@ import org.junit.Assert;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author LevelX2
*/
public class DeckValidatorTest extends CardTestPlayerBase {
class CardNameAmount {
static class CardNameAmount {
String name;
String setCode;