modified Upload on suggest words
This commit is contained in:
parent
f86cd807f9
commit
4f22be2d0f
1 changed files with 3 additions and 0 deletions
|
@ -178,6 +178,9 @@ public class SuggestBadWordService extends BsSuggestBadWordService implements
|
|||
}
|
||||
|
||||
private static String getValue(final List<String> list, final int index) {
|
||||
if (index >= list.size()) {
|
||||
return StringUtil.EMPTY;
|
||||
}
|
||||
String item = list.get(index).trim();
|
||||
if (StringUtil.isBlank(item)) {
|
||||
return StringUtil.EMPTY;
|
||||
|
|
Loading…
Add table
Reference in a new issue