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 28468] New: - StringUtils.defaultString: Documentation error
Date Mon, 19 Apr 2004 13:53:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28468>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28468

StringUtils.defaultString: Documentation error

           Summary: StringUtils.defaultString: Documentation error
           Product: Commons
           Version: Nightly Builds
          Platform: All
               URL: http://jakarta.apache.org/commons/lang/api/org/apache/co
                    mmons/lang/StringUtils.html
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: chdh@inventec.ch


There is an error in the JavaDoc description of the second version of 
StringUtils.defaultString.

The current version is:
defaultString(String str, String defaultStr)
Returns either the passed in String, or if the String is null, an empty String 
("").

The correct version should be, e.g.:
Returns either the passed in String, or if the String is null, the value of 
<code>defaultStr</code>.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message