From d4b66010334f8d3d8d89d3ddaa237f9d1afe4d8e Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Thu, 11 Nov 2021 22:19:52 +0100 Subject: [PATCH] implemented index is empty to index --- src/TextOutput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextOutput.java b/src/TextOutput.java index 2d32977..47c37bf 100644 --- a/src/TextOutput.java +++ b/src/TextOutput.java @@ -116,7 +116,7 @@ public class TextOutput { */ public void indexOutput(ArrayList index) { if(index.size() == 0) { - errorMissingText(); + System.out.println("index empty"); } else { for (String word : index) {