mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 16:58:56 +00:00
Add final keyword
This commit is contained in:
@@ -69,7 +69,7 @@ import com.iluwatar.hexagonal.service.LotteryServiceImpl;
|
||||
*/
|
||||
public class App {
|
||||
|
||||
private static List<PlayerDetails> allPlayerDetails;
|
||||
private static final List<PlayerDetails> allPlayerDetails;
|
||||
|
||||
static {
|
||||
allPlayerDetails = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user