implemented index is empty to index

This commit is contained in:
Leonardo Brandenberger 2021-11-11 22:19:52 +01:00
parent 42bd8eeadc
commit d4b6601033
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class TextOutput {
*/
public void indexOutput(ArrayList<String> index) {
if(index.size() == 0) {
errorMissingText();
System.out.println("index empty");
}
else {
for (String word : index) {