Text.java method index changed output format

This commit is contained in:
Andrin Fassbind committed 2021-11-05 11:41:10 +01:00
1 parent 7d256f9915
commit 9a05956582
2 files changed
+7 -3

No files matched your search

+6 -2
View File
@@ -144,9 +144,13 @@ public class Text {
ArrayList<Integer> values = entry.getValue();
String input = "";
if (values.get(0) >= 3) {
input += key + " ";
input += key + " ";
for (int i = 1; i < values.size(); i++) {
input += values.get(i) + ", ";
if(i+1 == values.size()){
input += values.get(i)+"";
}else {
input += values.get(i) + ", ";
}
}
output.add(input);
}