MOB-659 (part 2 of 2) - improve dictionary cache reset (should work even with null / cache)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2009-04-23 10:29:32 +00:00
parent 9c91679af7
commit f28579cc8e
24 changed files with 777 additions and 532 deletions

View File

@@ -256,7 +256,7 @@ public class WorkflowDeployer extends AbstractLifecycleBean
userTransaction.begin();
// bootstrap the workflow models and static labels (from classpath)
if (models != null && resourceBundles != null)
if (models != null && resourceBundles != null && ((models.size() > 0) || (resourceBundles.size() > 0)))
{
DictionaryBootstrap dictionaryBootstrap = new DictionaryBootstrap();
dictionaryBootstrap.setDictionaryDAO(dictionaryDAO);