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:
Jan Vonka
2007-06-04 09:18:51 +00:00
parent 67b28f6d36
commit 1bfe9ad0dc

View File

@@ -440,7 +440,7 @@ public class DictionaryDAOImpl implements DictionaryDAO
for (QName aspect : aspects)
{
AspectDefinition aspectDef = getAspect(aspect);
if (typeDef == null)
if (aspectDef == null)
{
throw new DictionaryException("d_dictionary.model.err.aspect_not_found", aspect);
}