add missing diamond operators

This commit is contained in:
Ingmar Goudt 2019-03-04 11:57:53 +01:00
parent 45f665eb1d
commit 553d263526
20 changed files with 24 additions and 24 deletions

View file

@ -19,7 +19,7 @@ import mage.players.Player;
*/
public class ChooseModeEffect extends OneShotEffect {
protected final List<String> modes = new ArrayList();
protected final List<String> modes = new ArrayList<>();
protected final String choiceMessage;
public ChooseModeEffect(String choiceMessage, String... modes) {

View file

@ -30,7 +30,7 @@ import java.util.UUID;
public abstract class Designation implements MageObject {
private static EnumSet emptySet = EnumSet.noneOf(CardType.class);
private static List emptyList = new ArrayList();
private static List emptyList = new ArrayList<>();
private static ObjectColor emptyColor = new ObjectColor();
private static ManaCostsImpl emptyCost = new ManaCostsImpl();