mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Minor MT fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -397,7 +397,7 @@ public class DictionaryDAOImpl implements DictionaryDAO
|
||||
* @param modelName the model name
|
||||
* @return the compiled model of the given name
|
||||
*/
|
||||
private CompiledModel getCompiledModel(QName modelName)
|
||||
/* package */ CompiledModel getCompiledModel(QName modelName)
|
||||
{
|
||||
String tenantDomain = tenantService.getCurrentUserDomain();
|
||||
if (tenantDomain != "")
|
||||
@@ -773,7 +773,7 @@ public class DictionaryDAOImpl implements DictionaryDAO
|
||||
*
|
||||
* @param tenantDomain
|
||||
*/
|
||||
/* package */ Map<QName,CompiledModel> getCompiledModels(String tenantDomain)
|
||||
private Map<QName,CompiledModel> getCompiledModels(String tenantDomain)
|
||||
{
|
||||
Map<QName,CompiledModel> compiledModels = null;
|
||||
try
|
||||
@@ -948,7 +948,7 @@ public class DictionaryDAOImpl implements DictionaryDAO
|
||||
CompiledModel compiledModel = model.compile(this, namespaceDAO);
|
||||
QName modelName = compiledModel.getModelDefinition().getName();
|
||||
|
||||
CompiledModel previousVersion = getCompiledModels(tenantService.getCurrentUserDomain()).get(modelName);
|
||||
CompiledModel previousVersion = getCompiledModel(modelName);
|
||||
if (previousVersion == null)
|
||||
{
|
||||
return new ArrayList<M2ModelDiff>(0);
|
||||
|
Reference in New Issue
Block a user