Consistent @PostConstruct naming
This commit is contained in:
parent
04af0b200e
commit
64231bf04c
@ -21,7 +21,7 @@ public class WordRepository {
|
||||
private final Map<Integer, List<String>> commonWordMap = new HashMap<>();
|
||||
|
||||
@PostConstruct
|
||||
public void init() throws IOException {
|
||||
private void postConstruct() throws IOException {
|
||||
final Set<String> words5 = WordReader.readFileToSet("/SOWPODS2007/words5.txt");
|
||||
final Set<String> words6 = WordReader.readFileToSet("/SOWPODS2007/words6.txt");
|
||||
final List<String> words5Common = WordReader.readFileToList("/SOWPODS2007/words5-common.txt");
|
||||
|
@ -228,7 +228,7 @@ public class LingoController {
|
||||
}
|
||||
|
||||
@PostConstruct
|
||||
public void postConstruct() {
|
||||
private void postConstruct() {
|
||||
sessionManager.addListener(new PlayerLeftListener());
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ public class WordRepository {
|
||||
private final Map<Integer, List<String>> commonWordMap = new HashMap<>();
|
||||
|
||||
@PostConstruct
|
||||
public void init() throws IOException {
|
||||
private void postConstruct() throws IOException {
|
||||
final Set<String> words5 = WordReader.readFileToSet("/SOWPODS2007/words5.txt");
|
||||
final Set<String> words6 = WordReader.readFileToSet("/SOWPODS2007/words6.txt");
|
||||
final List<String> words5Common = WordReader.readFileToList("/SOWPODS2007/words5-common.txt");
|
||||
|
Loading…
x
Reference in New Issue
Block a user