cleanup: use implicit generic type with diamond operator
This commit is contained in:
@@ -43,7 +43,7 @@ public class MapleCoconut extends MapleEvent {
|
||||
private int countBombing = 80;
|
||||
private int countFalling = 401;
|
||||
private int countStopped = 20;
|
||||
private List<MapleCoconuts> coconuts = new LinkedList<MapleCoconuts>();
|
||||
private List<MapleCoconuts> coconuts = new LinkedList<>();
|
||||
|
||||
public MapleCoconut(MapleMap map) {
|
||||
super(1, 50);
|
||||
|
||||
@@ -41,7 +41,7 @@ public class MapleSnowball {
|
||||
private boolean hittable = false;
|
||||
private int team;
|
||||
private boolean winner = false;
|
||||
List<MapleCharacter> characters = new LinkedList<MapleCharacter>();
|
||||
List<MapleCharacter> characters = new LinkedList<>();
|
||||
|
||||
public MapleSnowball(int team, MapleMap map) {
|
||||
this.map = map;
|
||||
|
||||
Reference in New Issue
Block a user