We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120033b commit 95f2c19Copy full SHA for 95f2c19
hexagonal/src/main/java/com/iluwatar/hexagonal/service/ConsoleLottery.java
@@ -67,7 +67,7 @@ public static void main(String[] args) {
67
addFundsToLotteryAccount(bank, scanner);
68
} else if ("3".equals(cmd)) {
69
submitTicket(service, scanner);
70
- } else if (cmd.equals("4")) {
+ } else if ("4".equals(cmd)) {
71
checkTicket(service, scanner);
72
} else if ("5".equals(cmd)) {
73
exit = true;
0 commit comments