mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
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:
@@ -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
|
||||
|
@@ -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"));
|
||||
|
Reference in New Issue
Block a user