From 8932133146331be01169a455d1644b14f3985f76 Mon Sep 17 00:00:00 2001 From: Neil McErlean Date: Mon, 15 Jun 2015 13:37:14 +0000 Subject: [PATCH] Trivial changes. Improved an exception message after review comments and fixed a copyright year. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../classification/ClassificationLevelValidation.java | 3 ++- .../module/org_alfresco_module_rm/util/RMCollectionUtils.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationLevelValidation.java b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationLevelValidation.java index aa1c8e4253..3f38240f88 100644 --- a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationLevelValidation.java +++ b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationLevelValidation.java @@ -63,7 +63,8 @@ public class ClassificationLevelValidation } else if (levelId.equals(ClassificationLevelManager.UNCLASSIFIED_ID)) { - throw new IllegalConfiguration("Unclassified ID abbreviation is reserved for system use."); + throw new IllegalConfiguration("The Unclassified ID abbreviation '" + + ClassificationLevelManager.UNCLASSIFIED_ID + "' is reserved for system use."); } else if (levelId.length() > ABBREVIATION_LENGTH_LIMIT) { diff --git a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/util/RMCollectionUtils.java b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/util/RMCollectionUtils.java index 69d7dc08ae..37ea4eff40 100644 --- a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/util/RMCollectionUtils.java +++ b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/util/RMCollectionUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2014 Alfresco Software Limited. + * Copyright (C) 2005-2015 Alfresco Software Limited. * * This file is part of Alfresco *