Consistent @PostConstruct naming

This commit is contained in:
Charles Gould 2019-05-18 14:32:17 -04:00
parent 04af0b200e
commit 64231bf04c
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ public class WordRepository {
private final Map<Integer, List<String>> commonWordMap = new HashMap<>(); private final Map<Integer, List<String>> commonWordMap = new HashMap<>();
@PostConstruct @PostConstruct
public void init() throws IOException { private void postConstruct() throws IOException {
final Set<String> words5 = WordReader.readFileToSet("/SOWPODS2007/words5.txt"); final Set<String> words5 = WordReader.readFileToSet("/SOWPODS2007/words5.txt");
final Set<String> words6 = WordReader.readFileToSet("/SOWPODS2007/words6.txt"); final Set<String> words6 = WordReader.readFileToSet("/SOWPODS2007/words6.txt");
final List<String> words5Common = WordReader.readFileToList("/SOWPODS2007/words5-common.txt"); final List<String> words5Common = WordReader.readFileToList("/SOWPODS2007/words5-common.txt");

View File

@ -228,7 +228,7 @@ public class LingoController {
} }
@PostConstruct @PostConstruct
public void postConstruct() { private void postConstruct() {
sessionManager.addListener(new PlayerLeftListener()); sessionManager.addListener(new PlayerLeftListener());
} }

View File

@ -21,7 +21,7 @@ public class WordRepository {
private final Map<Integer, List<String>> commonWordMap = new HashMap<>(); private final Map<Integer, List<String>> commonWordMap = new HashMap<>();
@PostConstruct @PostConstruct
public void init() throws IOException { private void postConstruct() throws IOException {
final Set<String> words5 = WordReader.readFileToSet("/SOWPODS2007/words5.txt"); final Set<String> words5 = WordReader.readFileToSet("/SOWPODS2007/words5.txt");
final Set<String> words6 = WordReader.readFileToSet("/SOWPODS2007/words6.txt"); final Set<String> words6 = WordReader.readFileToSet("/SOWPODS2007/words6.txt");
final List<String> words5Common = WordReader.readFileToList("/SOWPODS2007/words5-common.txt"); final List<String> words5Common = WordReader.readFileToList("/SOWPODS2007/words5-common.txt");