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

Add StringUtils.defaultIfBlank()

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 3.0
    • lang.*
    • None

    Description

      Add StringUtils.defaultIfBlank(String str) and StringUtils.defaultIfBlank(String str, String defaultStr) methods, similar to defaultIfEmpty() .

      Attachments

        1. StringUtils.diff
          6 kB
          Nicklas Holm

        Activity

          People

            Unassigned Unassigned
            adeon Adam Dyga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: