Use diamond parameter.

This commit is contained in:
Major-
2014-03-18 17:52:39 +00:00
parent 3b8eb72e04
commit b13c5d187e
+2 -2
View File
@@ -65,12 +65,12 @@ public abstract class Mob extends Entity {
/** /**
* This mob's list of local npcs. * This mob's list of local npcs.
*/ */
private final transient List<Npc> localNpcs = new ArrayList<Npc>(); private final transient List<Npc> localNpcs = new ArrayList<>();
/** /**
* This mob's list of local players. * This mob's list of local players.
*/ */
private final transient List<Player> localPlayers = new ArrayList<Player>(); private final transient List<Player> localPlayers = new ArrayList<>();
/** /**
* This mob's second movement direction. * This mob's second movement direction.