mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user