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

Add null-safe StringUtils.valueOf(char[]) to delegate to String.valueOf(char[])

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.9
    • lang.*
    • None

    Description

      Add null-safe API StringUtils.valueOf(char[]) to delegate to String.valueOf(char[]):

       
          public static String valueOf(final char[] value) {
              return value == null ? null : String.valueOf(value);     
          }
      

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: