mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Content Disk Driver 2 : Implementation of "Lock Tokens"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -167,11 +167,13 @@ public class ScenarioOpenFile implements Scenario
|
||||
if(instance instanceof ScenarioOpenFileInstance)
|
||||
{
|
||||
ScenarioOpenFileInstance i = (ScenarioOpenFileInstance)instance;
|
||||
if(i.getName().equalsIgnoreCase(name));
|
||||
if(i.getName() != null && name != null)
|
||||
{
|
||||
return true;
|
||||
if(i.getName().equalsIgnoreCase(name));
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user