commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22095] New: - [lang] Javadoc, tests improvements for CharSet, CharSetUtils
Date Sun, 03 Aug 2003 22:44:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22095

[lang] Javadoc, tests improvements for CharSet, CharSetUtils

           Summary: [lang] Javadoc, tests improvements for CharSet,
                    CharSetUtils
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


The attached patch makes some small improvements to the javadoc for CharSet,
CharSetUtils, adds some more test cases for CharSet and modifies the tests in
CharSetTest to use assertTrue(*) instead of assertEquals(true,*).

One syntactical ambiguity is shown in the new test cases:

"^-a" is ambiguous.  Currently, this produces two CharRanges, "^-" and "a".  On
the other hand, "a-^" is interpreted as the range from '^' to 'a' (the other
interpretation of "^-a").

Mime
View raw message