AVMLockingService is mostly complete. Basic test is in place.

Ran across and fixed bug in MapAttributeImpl.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-04-24 21:34:00 +00:00
parent 884b4920c3
commit a41f482557
7 changed files with 522 additions and 20 deletions

View File

@@ -158,7 +158,12 @@ public class MapAttributeImpl extends AttributeImpl implements MapAttribute
@Override
public Attribute get(String key)
{
return AVMDAOs.Instance().fMapEntryDAO.get(this, key).getAttribute();
MapEntry entry = AVMDAOs.Instance().fMapEntryDAO.get(this, key);
if (entry == null)
{
return null;
}
return entry.getAttribute();
}
/* (non-Javadoc)