diff --git a/src/TextLogik.java b/src/TextLogik.java index a4b8319..102e0b8 100644 --- a/src/TextLogik.java +++ b/src/TextLogik.java @@ -41,7 +41,7 @@ public class TextLogik { textOutput.errorInvalidCommand(); } break; - case "Dummy": + case "DUMMY": text.dummy(); break; case "EXIT": diff --git a/src/TextOutput.java b/src/TextOutput.java index acc9e63..1b09fd6 100644 --- a/src/TextOutput.java +++ b/src/TextOutput.java @@ -140,10 +140,10 @@ public class TextOutput { } /** - * Method to give out the Error "Invalid String". + * Method to give out the Error "Invalid Paragraph". */ - public void errorInvalidInput() { - System.err.println("Invalid String"); + public void errorInvalidParagraph() { + System.err.println("Invalid Paragraph"); } /**