commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan Jones (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1012) Add Validate.isFalse, Validate.largerThan and Validate.smallerThan
Date Sat, 10 May 2014 22:04:13 GMT
Duncan Jones created LANG-1012:
----------------------------------

             Summary: Add Validate.isFalse, Validate.largerThan and Validate.smallerThan
                 Key: LANG-1012
                 URL: https://issues.apache.org/jira/browse/LANG-1012
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.*
    Affects Versions: 3.3.2
            Reporter: Duncan Jones
            Assignee: Duncan Jones
            Priority: Minor


It would be more natural to express certain conditions if we offered the following new methods
in {{Validate}}:

{code:java}
Validate.isFalse(boolean expression, String message, Object... values)
Validate.largerThan(long minExclusive, long value, String message, Object... values)
Validate.smallerThan(long maxExclusive, long value, String message, Object... values)
{code}

The usual variants of these methods are also required (using {{double}}, {{T}} etc.).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message