From 9b1f563ebf0c302752fb0f43b8ea5d0b620979bb Mon Sep 17 00:00:00 2001 From: Derek Hulley Date: Mon, 10 Sep 2007 12:33:37 +0000 Subject: [PATCH] Merged V2.1 to HEAD 6295, 6296: EHCache patch on 1.3.0 and related classpath fixes 6300: WCM-509 - Usernames with '@' 6301: FacesHelper.makeLegalId() 6302: Portlet fixes to remove hardcoded "Company Home" string 6305: Fix for AWC-1440 - Potential NullPointerException in workflow history 6306: Fix to error message when incorrect parameters are passed to number range constraint git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .classpath | 25 +++++++++---------- .../constraint/NumericRangeConstraint.java | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.classpath b/.classpath index 972084b667..df1d168e2b 100644 --- a/.classpath +++ b/.classpath @@ -1,13 +1,12 @@ - - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/source/java/org/alfresco/repo/dictionary/constraint/NumericRangeConstraint.java b/source/java/org/alfresco/repo/dictionary/constraint/NumericRangeConstraint.java index 7f75c97ac4..2794842c05 100644 --- a/source/java/org/alfresco/repo/dictionary/constraint/NumericRangeConstraint.java +++ b/source/java/org/alfresco/repo/dictionary/constraint/NumericRangeConstraint.java @@ -102,7 +102,7 @@ public class NumericRangeConstraint extends AbstractConstraint { if (maxValue < this.minValue) { - throw new DictionaryException(ERR_INVALID_MAX_VALUE, minValue); + throw new DictionaryException(ERR_INVALID_MAX_VALUE, maxValue); } this.maxValue = maxValue; }