Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-95

[lang] StringUtils.defaultString: Documentation error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • lang.*
    • None
    • Operating System: All
      Platform: All

    • 28468

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            chdh@inventec.ch Christian d'Heureuse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: