fix stupid cache config bug

This commit is contained in:
Xavier Léauté 2014-04-24 17:13:04 -07:00
parent 5e98275251
commit 5d105e7598
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class CachingQueryRunner<T> implements QueryRunner<T>
final boolean useCache = query.getContextUseCache(true) final boolean useCache = query.getContextUseCache(true)
&& strategy != null && strategy != null
&& cacheConfig.isPopulateCache(); && cacheConfig.isUseCache();
final Cache.NamedKey key; final Cache.NamedKey key;
if(strategy != null && (useCache || populateCache)) { if(strategy != null && (useCache || populateCache)) {