Fixed critical bugs (Security - Array is stored directly) reported in Sonar

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-06-15 11:39:53 +00:00
parent f9cdbe795f
commit 114c198b44
3 changed files with 13 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ public class RMConstraintInfo
}
public void setAllowedValues(String[] values)
{
this.allowedValues = values;
this.allowedValues = values.clone();
}
public String[] getAllowedValues()
{

View File

@@ -36,7 +36,7 @@ public class ScriptCapability
{
this.name = name;
this.displayLabel = displayLabel;
this.actions = actions;
this.actions = actions.clone();
}
/**

View File

@@ -152,7 +152,7 @@ public class RMSearchPropertiesGet extends DeclarativeWebScript
{
this.id = id;
this.label = label;
this.properties = properties;
this.properties = properties.clone();
}
public String getId()