implemented index is empty to index
This commit is contained in:
parent
42bd8eeadc
commit
d4b6601033
|
@ -116,7 +116,7 @@ public class TextOutput {
|
||||||
*/
|
*/
|
||||||
public void indexOutput(ArrayList<String> index) {
|
public void indexOutput(ArrayList<String> index) {
|
||||||
if(index.size() == 0) {
|
if(index.size() == 0) {
|
||||||
errorMissingText();
|
System.out.println("index empty");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for (String word : index) {
|
for (String word : index) {
|
||||||
|
|
Loading…
Reference in New Issue