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

Add StringUtils.defaultIfBlank()

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 3.0
    • Component/s: lang.*
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: