@Override
public boolean matchItem(Object item) {
- String text = null;
- if(item instanceof UuidAndTitleCache){
- if (((UuidAndTitleCache) item).getAbbrevTitleCache() != null){
- text = ((UuidAndTitleCache) item).getAbbrevTitleCache();
- } else{
- text = ((UuidAndTitleCache) item).getTitleCache();
- }
- }else if(item instanceof String){
- text = (String) item;
- }
- return text != null ? matches(text) : false;
+ return true;
+// String text = null;
+// if(item instanceof UuidAndTitleCache){
+// if (((UuidAndTitleCache) item).getAbbrevTitleCache() != null){
+// text = ((UuidAndTitleCache) item).getAbbrevTitleCache();
+// } else{
+// text = ((UuidAndTitleCache) item).getTitleCache();
+// }
+// }else if(item instanceof String){
+// text = (String) item;
+// }
+// return text != null ? matches(text) : false;
}
};