mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix incorrect null check in DictionaryDAOImpl
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -440,7 +440,7 @@ public class DictionaryDAOImpl implements DictionaryDAO
|
|||||||
for (QName aspect : aspects)
|
for (QName aspect : aspects)
|
||||||
{
|
{
|
||||||
AspectDefinition aspectDef = getAspect(aspect);
|
AspectDefinition aspectDef = getAspect(aspect);
|
||||||
if (typeDef == null)
|
if (aspectDef == null)
|
||||||
{
|
{
|
||||||
throw new DictionaryException("d_dictionary.model.err.aspect_not_found", aspect);
|
throw new DictionaryException("d_dictionary.model.err.aspect_not_found", aspect);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user