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] [Closed] (LANG-1012) Add Validate.isFalse, Validate.largerThan and Validate.smallerThan
Date Fri, 12 Sep 2014 11:20:34 GMT

     [ https://issues.apache.org/jira/browse/LANG-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Duncan Jones closed LANG-1012.
------------------------------
    Resolution: Won't Fix

I agree this can be abandoned.

> 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
>             Fix For: Discussion
>
>
> 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.3.4#6332)

Mime
View raw message