mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final2.git
synced 2024-11-08 18:00:37 +00:00
Checkstyle
This commit is contained in:
parent
3ba69ce595
commit
ac50150bad
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user