Synchronized block locks on static inner class

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@112939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2015-09-24 01:55:10 +00:00
parent f50241deeb
commit a86c4e873c

View File

@@ -169,8 +169,6 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
public Void doWork() public Void doWork()
{ {
try try
{
synchronized (this)
{ {
if(getMode() == CopyMoveLinkFileToActionMode.MOVE) if(getMode() == CopyMoveLinkFileToActionMode.MOVE)
{ {
@@ -185,7 +183,6 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
getRecordService().link(actionedUponNodeRef, finalRecordFolder); getRecordService().link(actionedUponNodeRef, finalRecordFolder);
} }
} }
}
catch (FileNotFoundException fileNotFound) catch (FileNotFoundException fileNotFound)
{ {
throw new AlfrescoRuntimeException( throw new AlfrescoRuntimeException(