AVMLockingService.removeLock() quietly returns if called for a non-existent lock,

instead of throwing an exception.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-06-21 15:07:44 +00:00
parent fd36b00448
commit 24fcc32824

View File

@@ -329,7 +329,7 @@ public class AVMLockingServiceImpl implements AVMLockingService
Attribute lockData = fAttributeService.getAttribute(keys); Attribute lockData = fAttributeService.getAttribute(keys);
if (lockData == null) if (lockData == null)
{ {
throw new AVMNotFoundException("Lock does not exist: " + webProject + " " + path); return;
} }
keys.remove(3); keys.remove(3);
fAttributeService.removeAttribute(keys, pathKey); fAttributeService.removeAttribute(keys, pathKey);