Make the cache objects used by the Action Tracking Service immutable

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-09-10 11:13:33 +00:00
parent e931342236
commit 1ee65f081a
4 changed files with 25 additions and 15 deletions

View File

@@ -28,12 +28,12 @@ package org.alfresco.service.cmr.action;
* @author Nick Burch
*/
public class ExecutionSummary {
private String actionType;
private String actionId;
private int executionInstance;
private final String actionType;
private final String actionId;
private final int executionInstance;
public ExecutionSummary(String actionType, String actionId,
int executionInstance) {
public ExecutionSummary(final String actionType, final String actionId,
final int executionInstance) {
this.actionType = actionType;
this.actionId = actionId;
this.executionInstance = executionInstance;