Add final keyword

This commit is contained in:
Ilkka Seppälä
2016-08-13 18:28:53 +03:00
parent ffbc5f2f29
commit 7c2f5da926

View File

@ -69,7 +69,7 @@ import com.iluwatar.hexagonal.service.LotteryServiceImpl;
*/ */
public class App { public class App {
private static List<PlayerDetails> allPlayerDetails; private static final List<PlayerDetails> allPlayerDetails;
static { static {
allPlayerDetails = new ArrayList<>(); allPlayerDetails = new ArrayList<>();