RM-2235. Changed Unclassified to 'U', which is the ID and abbreviation for unclassified.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@105782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2015-06-09 09:21:39 +00:00
parent aaecf7ad80
commit 5aeeb146be

View File

@@ -32,7 +32,7 @@ import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationE
public class ClassificationLevelManager
{
/** Unclassified classification level */
public static final String UNCLASSIFIED_ID = "Unclassified";
public static final String UNCLASSIFIED_ID = "U";
private static final String UNCLASSIFIED_MSG = "rm.classification.unclassified";
public static final ClassificationLevel UNCLASSIFIED = new ClassificationLevel(UNCLASSIFIED_ID, UNCLASSIFIED_MSG);
@@ -46,7 +46,7 @@ public class ClassificationLevelManager
*/
public void setClassificationLevels(List<ClassificationLevel> classificationLevels)
{
List<ClassificationLevel> temp = new ArrayList<ClassificationLevel>(classificationLevels);
List<ClassificationLevel> temp = new ArrayList<>(classificationLevels);
temp.add(temp.size(), UNCLASSIFIED);
this.classificationLevels = ImmutableList.copyOf(temp);
}