fixed failing index tests - removed client cache check from IndexFactoryBean since there is no easy way to tell

This commit is contained in:
David Turanski
2013-02-23 10:46:02 -05:00
parent 0be937c557
commit 0a3a9d3896

View File

@@ -51,8 +51,6 @@ public class IndexFactoryBean implements InitializingBean, BeanNameAware, Factor
public void afterPropertiesSet() throws Exception {
if (queryService == null) {
if (cache != null) {
Assert.isTrue(!ClientCache.class.isAssignableFrom(cache.getClass()),
"You cannot create an index from a client cache");
queryService = cache.getQueryService();
}
}