Fixed ALF-4808: NPE (Failure in ProgressWatcher) in patch.updateDmPermissions if isolation level cannot be set

- Unboxing of a variable not set if the isolation level could not be set


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2010-09-16 14:18:30 +00:00
parent 72ded1e746
commit c6b3c0c46a

View File

@@ -107,6 +107,7 @@ public class DmPermissionsPatch extends AbstractPatch
catch (IllegalStateException e)
{
// Can't be set. We're done here.
toDo = 0L;
running = false;
return 0L;
}