This commit is contained in:
2020-12-10 23:57:47 +01:00

View File

@@ -60,8 +60,8 @@ public class VotingController {
votingPhase = true; votingPhase = true;
} }
String mottoVotingConfig = System.getProperty("mottoVoting"); String mottoPhaseConfig = System.getProperty("mottoPhase");
if (mottoVotingConfig.equalsIgnoreCase("true")) { if (mottoPhaseConfig.equalsIgnoreCase("true")) {
mottoPhase = true; mottoPhase = true;
} }
@@ -78,7 +78,7 @@ public class VotingController {
// mottoPhase = true; // mottoPhase = true;
// addingPhase = false; // addingPhase = false;
LOGGER.info("Program started with arguments: votingPhase="+ votingPhase + " mottoVoting=" + mottoPhase + " addingPhase=" + addingPhase); LOGGER.info("Program started with arguments: votingPhase="+ votingPhase + " mottoPhase=" + mottoPhase + " addingPhase=" + addingPhase);
if (voterRepository.findAll().size() == 0) { if (voterRepository.findAll().size() == 0) {
tableAction.setUpVoters(voterRepository); tableAction.setUpVoters(voterRepository);