You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/04 00:44:25 UTC

DO NOT REPLY [Bug 22095] New: - [lang] Javadoc, tests improvements for CharSet, CharSetUtils

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").