commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-514) CharRange constructor is hard to read
Date Sat, 11 Jul 2009 07:43:14 GMT
CharRange constructor is hard to read
-------------------------------------

                 Key: LANG-514
                 URL: https://issues.apache.org/jira/browse/LANG-514
             Project: Commons Lang
          Issue Type: Improvement
            Reporter: Henri Yandell
             Fix For: 3.0


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.


Mime
View raw message