Checkstyle

This commit is contained in:
Arne Keller 2020-03-23 10:11:15 +01:00
parent 3ba69ce595
commit ac50150bad

View File

@ -22,7 +22,7 @@ public final class CommandLine {
* Utility class -> private constructor.
*/
private CommandLine() {
}
/**
@ -30,11 +30,11 @@ public final class CommandLine {
*/
public static void startInteractive() {
// create a new simulation
CardGame simulation = new CardGame();
final CardGame simulation = new CardGame();
boolean lost = false;
// accept user input indefinitely
while (true) {
String input = Terminal.readLine();
final String input = Terminal.readLine();
// handle quit command
if (input.startsWith(QUIT)) {