Fixed major issues ("Signature Declare Throws Exception") reported in Sonar

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-05-27 22:00:50 +00:00
parent 2c98bb672f
commit 1441c42f45
47 changed files with 189 additions and 188 deletions

View File

@@ -125,7 +125,7 @@ public class ExtendedRuleServiceImpl extends RuleServiceImpl
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
{
@Override
public Void doWork() throws Exception
public Void doWork()
{
ExtendedRuleServiceImpl.super.saveRule(nodeRef, rule);
return null;
@@ -150,7 +150,7 @@ public class ExtendedRuleServiceImpl extends RuleServiceImpl
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
{
@Override
public Void doWork() throws Exception
public Void doWork()
{
ExtendedRuleServiceImpl.super.removeRule(nodeRef, rule);
return null;
@@ -187,7 +187,7 @@ public class ExtendedRuleServiceImpl extends RuleServiceImpl
filePlanAuthenticationService.runAsRmAdmin(new RunAsWork<Void>()
{
@Override
public Void doWork() throws Exception
public Void doWork()
{
ExtendedRuleServiceImpl.super.executeRule(rule, nodeRef, executedRules);
return null;