changed Method errorInvalidParagraph in TextOutput.java

This commit is contained in:
schrom01 2021-11-11 14:35:55 +01:00
parent 88f98bff0b
commit dcf7880091
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ public class TextLogik {
textOutput.errorInvalidCommand(); textOutput.errorInvalidCommand();
} }
break; break;
case "Dummy": case "DUMMY":
text.dummy(); text.dummy();
break; break;
case "EXIT": case "EXIT":

View File

@ -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() { public void errorInvalidParagraph() {
System.err.println("Invalid String"); System.err.println("Invalid Paragraph");
} }
/** /**