removed some debugging code
This commit is contained in:
parent
6e0113c0d5
commit
f1c5bce341
1 changed files with 1 additions and 6 deletions
|
|
@ -173,12 +173,7 @@ public class SuggestionsBar {
|
||||||
return suggestion;
|
return suggestion;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @todo: investigate the crash and remove this try-catch
|
return stem + suggestion.substring(startIndex, endIndex);
|
||||||
try {
|
|
||||||
return stem + suggestion.substring(startIndex, endIndex);
|
|
||||||
} catch (Exception e) {
|
|
||||||
throw new IndexOutOfBoundsException("Failed cutting '" + suggestion + "' from: " + startIndex + " to: " + endIndex);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue