Author: scabanovich
Date: 2010-11-09 09:47:33 -0500 (Tue, 09 Nov 2010)
New Revision: 26378
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/constraint/impl/XAttributeConstraintInt.java
Log:
JBIDE-7193
https://jira.jboss.org/browse/JBIDE-7193
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/constraint/impl/XAttributeConstraintInt.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/constraint/impl/XAttributeConstraintInt.java 2010-11-09
14:42:33 UTC (rev 26377)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/constraint/impl/XAttributeConstraintInt.java 2010-11-09
14:47:33 UTC (rev 26378)
@@ -46,10 +46,10 @@
} else if(min == 0 && max == Integer.MAX_VALUE) {
return "must be a non-negative integer.";
} else if(min > Integer.MIN_VALUE && max == Integer.MAX_VALUE) {
- return MessageFormat.format("must be an integer greater than {0}.",
+ return MessageFormat.format("must be an integer not less than {0}.",
min);
} else if(min == Integer.MIN_VALUE && max < Integer.MAX_VALUE) {
- return MessageFormat.format("must be an integer less than {0}.", max);
+ return MessageFormat.format("must be an integer not greater than {0}.",
max);
} else {
return MessageFormat.format("must be an integer from {0} to {1}.",
min, max);