Fixed major issues (Visibility Modifier) reported in Sonar

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89725 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-11-01 21:07:06 +00:00
parent c0f99cf06c
commit a6fb22a8cc
34 changed files with 374 additions and 238 deletions

View File

@@ -35,7 +35,7 @@ public class TestAction extends RMActionExecuterAbstractBase
{
throw new RuntimeException("Unexpected parameter value. Expected " + PARAM_VALUE + " actual " + action.getParameterValue(PARAM));
}
this.nodeService.addAspect(actionedUponNodeRef, ASPECT_RECORD, null);
this.getNodeService().addAspect(actionedUponNodeRef, ASPECT_RECORD, null);
}
@Override

View File

@@ -71,7 +71,7 @@ public class TestActionPropertySubs extends RMActionExecuterAbstractBase
String yearShort = new SimpleDateFormat("yy").format(date);
String yearLong = new SimpleDateFormat("yyyy").format(date);
String yearWeek = new SimpleDateFormat("ww").format(date);
String name = (String) nodeService.getProperty(actionedUponNodeRef, ContentModel.PROP_NAME);
String name = (String) getNodeService().getProperty(actionedUponNodeRef, ContentModel.PROP_NAME);
String company = I18NUtil.getMessage("test.company");
assertEquals(dayShort, (String) action.getParameterValue("dayShort"));