Add final keyword
This commit is contained in:
@ -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<>();
|
||||||
|
Reference in New Issue
Block a user