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

@@ -137,8 +137,10 @@ public class DictionaryBootstrap implements DictionaryListener
}
try
{
if (logger.isInfoEnabled())
logger.info("Loading model from " + bootstrapModel);
if (logger.isDebugEnabled())
{
logger.debug("Loading model from " + bootstrapModel);
}
M2Model model = M2Model.createModel(modelStream);
dictionaryDAO.putModel(model);