settings search: do not accept everything when only stop-word is provided (IDEA-108050)

This commit is contained in:
Anna Kozlova
2013-05-29 20:41:54 +04:00
parent 3e5de38722
commit 46045fa7a5
@@ -676,6 +676,9 @@ public class SearchUtil {
}
keySetList.add(keySet);
}
if (keySetList.isEmpty() && !StringUtil.isEmptyOrSpaces(filter)) {
keySetList.add(Collections.singleton(filter));
}
return keySetList;
}