minor changes for code review [APPS-467]

This commit is contained in:
rodicasutu
2020-09-11 08:27:43 +03:00
parent e4d7e2cc41
commit b8cb50635b

View File

@@ -119,7 +119,7 @@ public class ActionsExecutionAPI extends RMModelRequest
/** /**
* WORM lock a node for a period of days * WORM lock a node for a period of days
* * *
* @param targetNode the node on which the action is executed * @param targetNode the node on which the action is executed
* @param retentionPeriod the retention period in days for the WORM lock * @param retentionPeriod the retention period in days for the WORM lock
* @throws Exception * @throws Exception
@@ -129,6 +129,6 @@ public class ActionsExecutionAPI extends RMModelRequest
{ {
return getRmRestWrapper().withCoreAPI().usingActions() return getRmRestWrapper().withCoreAPI().usingActions()
.executeAction(ActionsOnRule.WORM_LOCK.getActionValue(), targetNode, .executeAction(ActionsOnRule.WORM_LOCK.getActionValue(), targetNode,
ImmutableMap.of("retentionPeriod",String.valueOf(retentionPeriod))); ImmutableMap.of("retentionPeriod", String.valueOf(retentionPeriod)));
} }
} }