master
duhui 2022-08-27 21:39:05 +08:00
parent 3d8ac071d3
commit 395a1e3b2b
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class SensitivewordFilter {
int matchFlag = 0;//匹配标识数默认为0
char word = 0;
Map nowMap = sensitiveWordMap;
boolean logTest = txt.equals("色女") || txt.equals("av") || txt.equals("成人");
boolean logTest = true;
for (int i = beginIndex; i < txt.length(); i++) {
word = txt.charAt(i);
nowMap = (Map) nowMap.get(word); //获取指定key