1
0
Fork 0

removed some debugging code

This commit is contained in:
sspanak 2025-04-10 11:23:55 +03:00 committed by Dimo Karaivanov
parent 6e0113c0d5
commit f1c5bce341

View file

@ -173,12 +173,7 @@ public class SuggestionsBar {
return suggestion;
}
// @todo: investigate the crash and remove this try-catch
try {
return stem + suggestion.substring(startIndex, endIndex);
} catch (Exception e) {
throw new IndexOutOfBoundsException("Failed cutting '" + suggestion + "' from: " + startIndex + " to: " + endIndex);
}
}