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

Niall Pemberton updated LANG-514:
---------------------------------

    Fix Version/s:     (was: 3.0)
                   2.5

> CharRange constructor is hard to read
> -------------------------------------
>
>                 Key: LANG-514
>                 URL: https://issues.apache.org/jira/browse/LANG-514
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Henri Yandell
>             Fix For: 2.5
>
>         Attachments: LANG-514-private-ctor.patch, LANG-514.patch
>
>
> Saying new CharRange("....", true) is a very painful way to negate the '...'. 
> Both for cryptic, and because you'd expect true to mean positiveness and 
> false to imply the 'not'.
> Replace this with a static method:
> CharRange.not("....").

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to