From dcf78800914d493f3b986835db56bcae8536fea6 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 11 Nov 2021 14:35:55 +0100 Subject: [PATCH] changed Method errorInvalidParagraph in TextOutput.java --- src/TextLogik.java | 2 +- src/TextOutput.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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"); } /**